phonegap / phonegap-plugin-push

Register and receive push notifications
MIT License
1.94k stars 1.91k forks source link

Runtime error - must be used from main thread only #2793

Open moontz opened 5 years ago

moontz commented 5 years ago

Im getting this strange runtime warning/error (see below) when running on iOS. Not sure if I was getting this before, but anything to be worried about?

Plugins/phonegap-plugin-push/PushPlugin.m: runtime: UI API called from background thread: -[UIApplication setApplicationIconBadgeNumber:] must be used from main thread only