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

Not receiving notifications sent from firebase console #589

Closed
priyankinfinnov opened this issue Nov 6, 2017 · 2 comments
Closed

Not receiving notifications sent from firebase console #589

priyankinfinnov opened this issue Nov 6, 2017 · 2 comments

Comments

@priyankinfinnov
Copy link

Issue

Not receiving notifications sent from firebase console using send to single device option

I used
Firebase.messaging().getToken().then((token) => {});
to get the token.

And then

firebase.messaging().getInitialNotification((message) => { console.log("Got getInitialNotification "+JSON.stringify(message)); });
firebase.messaging().onMessage((message) => { console.log("Got onMessage "+JSON.stringify(message)); });
to receive.

But log doesn't appear.

Environment

  1. Application Target Platform: Tried on Android (don't know about iOS)

  2. Development Operating System: Windows 10

  3. Build Tools: Android Studio 2.2

  4. React Native version: 0.49.x

  5. RNFirebase Version: "^3.0.3"

  6. Firebase Module: Messaging

@chrisbianca
Copy link
Contributor

chrisbianca commented Nov 8, 2017

Thanks for reporting. We're aware of lots of issues with notifications and will be addressing them all as part of the v3.2.0 release stream. Please see #595 for updates.

@chrisbianca
Copy link
Contributor

Good news, the long awaited alpha of our messaging and notifications overhaul is now available!!

Check out the release notes here: https://github.com/invertase/react-native-firebase/releases/tag/v4.0.0-alpha.1

If you have any comments and suggestions or want to report an issue, come find us on Discord

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

2 participants