FirebasePushNotificationPlugin
FirebasePushNotificationPlugin copied to clipboard
In background state on ios on first time push is received OnNotificationReceived and OnReceived methods don't work
I am using mvvmcross framework, did setup according to your instructions, and everything works fine on ios and android on every state except the first time push received on ios in background state. I mean when you open app and then close. It will be the first time for app when it will receive background push. In device log I can see that app initialization is happening, but methods where to proceed push notification is not called. But second push works fine as I have said.
Also I can see such error:
Info (418) / iOS(GoogleUtilities): 6.22.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add [FIRApp configure];
(FirebaseApp.configure()
in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
Maybe that cause the problem? Does anyone faced with such problem?
Plugin version: 3.3.10 Ios version: 13.3.1
I have same problem also in foreground state.