Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

iOS background notification never show and foreground notification stop working after killing the app #499

Closed
henrychavez opened this issue Sep 26, 2017 · 4 comments
Milestone

Comments

@henrychavez
Copy link
Contributor

I have the latest version "nativescript-plugin-firebase": "^4.1.1".

and I never get the background notifications and the foregrounds are failing when I kill the app and reopen.

I call the init method before the application starts and the foregrounds notifications works only that first time.

Any idea of what version of the plugin I should use that works background notification and foreground?

@uzarsalan
Copy link

uzarsalan commented Oct 5, 2017

i have the same issue. But sometimes, i can't understand why, background notification works until second launch. I've changed code hundreds times and can't find why it happens. Tried 3.11.0, 4.0.5, 4.1.1. I've moved firebase init to app.js, first screen navigatingTo, second screen navigatingTo.

@b4rtt
Copy link

b4rtt commented Oct 8, 2017

Same issue here.

rhrn added a commit to rhrn/nativescript-plugin-firebase that referenced this issue Oct 13, 2017
EddyVerbruggen added a commit that referenced this issue Oct 13, 2017
@EddyVerbruggen EddyVerbruggen added this to the 4.1.2 milestone Oct 13, 2017
@TheOnlyMatt
Copy link

I am still having this same issue with the version 5.1.6

@ebiscardi
Copy link

ebiscardi commented Mar 23, 2019

Is this issue resolved? I have a similar issue with version 8.0.1 of the plugin.
Notifications work fine after installing the application, but after killing, notifications stop working.
To make tests, I send notification calling firebase API through Postman, using FCM token received calling firebase.getCurrentPushToken() method.
After notifications stop working, the response sent by firebase API is "notRegistered", even if the token is exactly the one received as current token.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants