You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
I noticed that when the cloud messaging system is registered for iOS, it is put on a background thread as seen in the image below:
I have tried calling firebase.init() in different parts of the application, but still get this error.
If this could be looked into, that would be great.
UPDATE:
After playing around with this, I have found that this happens when I build the Android version of the application. When the Android build is finished, TNS needs to rebuild the iOS app again for some reason. Once that build is finished and installed on the device, push notifications no longer work on the iOS version.
One workaround (not the most ideal solution) is to uninstall the app from the iOS device and then run tns run ios again. This will install a fresh app and push notifications work again.
With that in mind, I'm not sure if this is an issue with the build process of NativeScript, or if this can be fixed within the Firebase plugin.
The text was updated successfully, but these errors were encountered:
I noticed that when the cloud messaging system is registered for iOS, it is put on a background thread as seen in the image below:
I have tried calling
firebase.init()
in different parts of the application, but still get this error.If this could be looked into, that would be great.
UPDATE:
After playing around with this, I have found that this happens when I build the Android version of the application. When the Android build is finished, TNS needs to rebuild the iOS app again for some reason. Once that build is finished and installed on the device, push notifications no longer work on the iOS version.
One workaround (not the most ideal solution) is to uninstall the app from the iOS device and then run
tns run ios
again. This will install a fresh app and push notifications work again.With that in mind, I'm not sure if this is an issue with the build process of NativeScript, or if this can be fixed within the Firebase plugin.
The text was updated successfully, but these errors were encountered: