Complete
over 3 years ago

Issue has been fixed. Users should use the new SDK version.

Please, add support for Scene based apps in iOS

When I try to call showDeviceSelection() the whole app just crashes with:

*** Terminating app due to uncaught exception 'NSObjectNotAvailableException', reason: 'UIAlertView is deprecated and unavailable for UIScene based applications, please use UIAlertController!'

The fix is to not use the UIScene, but this is a SwiftUI app, I can only use Scene with it. 

Please, add support for Scene-based apps, it is pretty frustrating that you are forced to use old technology because of ConnectIQ being not updated for a while!

Parents
  • UPDATE: This function was called with the fact that GCM was not installed, so the SDK will try to show an alert saying that "GCM is not installed, please install it from the App Store". And that's where the issue lies, it tries to show it, but it uses UIAlertView instead of UIAlertController. That's where the issue is.

Comment
  • UPDATE: This function was called with the fact that GCM was not installed, so the SDK will try to show an alert saying that "GCM is not installed, please install it from the App Store". And that's where the issue lies, it tries to show it, but it uses UIAlertView instead of UIAlertController. That's where the issue is.

Children
No Data