OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native iOS app with OneSignal. https://onesignal.com
Other
494
stars
263
forks
source link
crash: uialertview is deprecated and unavailable for UIScene based applications, please use UIAlertController #671
Ever since I upgraded my iphone to 13.5 (then had to upgrade Xcode to 11.5), I started getting this error "uialertview is deprecated and unavailable for UIScene based applications, please use UIAlertController". I don't think the problem existed before the update but am not 100% sure.
This causes a crash when a notification is sent while the receiver has the app open.
Environment
What version of the iOS SDK are you using? - 2.13.1
How did you add the SDK to your project - cocoapods
Steps to Reproduce Issue:
open the app with oneSignal installed
send a push to this user while the above user still has the app open
Anything else:
(crash stacktraces, as well as any other information here)
Description:
Ever since I upgraded my iphone to 13.5 (then had to upgrade Xcode to 11.5), I started getting this error "uialertview is deprecated and unavailable for UIScene based applications, please use UIAlertController". I don't think the problem existed before the update but am not 100% sure.
This causes a crash when a notification is sent while the receiver has the app open.
Environment
Steps to Reproduce Issue:
Anything else:
(crash stacktraces, as well as any other information here)