[React-native] Push notification issue

I want using push notification in react-native.
And i follow https://support.count.ly/hc/en-us/articles/360037813231-React-Native-Bridge-#general-setup
And when using Countly.askForNotificationPermission(); I have issue 

And more issue. In dashboard -> messaging, I can see I have 6 user can receive notification but when i create one-time notification i can't send it, it error Sorry, there are no push-enabled users for specified options.




1 comment
  • Official comment

    Hi José, Thanks for reporting this issue!

    So, this issue happens If firebase-messaging is resolved to v22 due to any reason.

    These could be the multiple reasons that your project is using firebase-messaging v22; some of them are:
    — You or some plugin you have added is using firebase-bom with V28+
    — Some plugin is directly using firebase-messaging v22
    — You have manually edit the firebase-messaging to v22

    Our engineering team is are already working on it and we will release a proper fix in the next release.

    For now, as a workaround, you can add the 'com.google.firebase:firebase-iid' to your Android/app/build.gradle. It should work as expected.


    If you go to your Dashboard and open your Messaging page, you'll see that the MESSAGING-ENABLED USERS is showing the count of both production and test users for both platforms (iOS/Android).

    For e.g.: You have selected Platform “Android” and “Production Users”, if no user is available with these options, then you will get this message “Sorry, there are no push-enabled users for specified options.
    Try to change platforms or production-test switch."


    Please let me know if you have any questions about this.

    Comment actions Permalink

Please sign in to leave a comment.