Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activity started twice #36

Open
paulbao opened this issue Jan 28, 2016 · 5 comments
Open

Activity started twice #36

paulbao opened this issue Jan 28, 2016 · 5 comments

Comments

@paulbao
Copy link

paulbao commented Jan 28, 2016

Press Home button to minimise the app and send a push notification to the app. If you click the the notification, it will launch the app again. But you have to click back button twice to go back.

@oney
Copy link
Owner

oney commented Jan 28, 2016

I believe this issue is related to react-native-system-notification that is responsible for creating notifications. Please go there to open a issue.
I have tried TestGcm app. If I click the home button and click the notification, it will open the app rather than re-launching it.

@jawadrehman
Copy link

@paulbao i have seen it happen when the app is fully closed when multiple notifications are received.

@oney
Copy link
Owner

oney commented Jan 28, 2016

@jawadrehman the issue that you mentioned should be related to this module.
Do you have more than one apps that are using this module? Including TestGcm app.

@jawadrehman
Copy link

@oney looking back, I think its related to the changes I made in the pull request I submitted earlier. Without that change, only one notification was created if the app was fully closed.

@jawadrehman
Copy link

line 242 of GCModule.java . I had to change it to use a random number to display multiple notifications, which was far more important in my app

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

No branches or pull requests

3 participants