It seems that the FirebaseAnalytics/FirebaseConfig plugins in our iOS app prevents notifications from working properly. Has anyone else ran into this?
Try
firebaseAnalytics = require(“plugin.firebaseAnalytics”)
timer.performWithDelay( 200, function ( )
firebaseAnalytics.init()
end )
firebaseConfig = require(“plugin.firebaseConfig”)
timer.performWithDelay( 100, function ( )
firebaseConfig.init()
end )
timer.performWithDelay( 1000, function ( )
notifications = require(“plugin.notifications.v2”)
notifications.registerForPushNotifications( { useFCM = true } )
end )
It still doesn’t work. Basically, ‘notification.registerForPushNotifications( { useFCM = true } )’ doesn’t fire.
From my previous test it seems that with the Firebase* series and registerForPushNotifications, whatever comes first prevents whatever comes latter from working.