Hi Guys, I’m following this post from @vladimir-upirov and I’m getting an error:
Backendless.Messaging.addPushNotificationListener is not a function … addPushNotificationListener is undefined) when added to my componentDidMount, couldn’t find a related topic here.
I presume I didn’t conclude and as a result, I’m able to Send but NOT Receive Notifications on Android. Any guess?
Note: “backendless”: “^5.2.0” installed and working perfectly. Regards
Yes @vladimir-upirov, and for sure its working properly. I’m using it in a lot of different functions across the App. Ok, thanks I’ll make a few changes.
Still working on that @mark-piller, not yet. Making a few tests and I notice that all my Android devices and simulator gets the same DeviceToken, (different deviceId tough) it’s that normal on Android or is a device register error? On iOS, we don’t get on the emulator. Regards
no, these two modules are no longer needed, the readme is out of date, I’ll fix it today, sorry for that,
For now you can just follow by steps from the article, there are the latest instructions
Regards, Vlad
Could be a linking issue @vladimir-upirov , that’s why I like to link manually. I always have a problem linking Android.
The linking process added backendless-react-native only on settings.gradle, It should have more… I need to proceed manually. Do you have any manually linking reference?
Hi @vladimir-upirov I couldn’t make it work, to start it brought a few changes in my Gradle and after solve all build errors when finally went through the build the App crashes after few sec. I removed the RNBackendless lines from MainApplication and Build.gradle and the App runs just fine.
I had no issue on iOS, altough was already working fine just with PushNotificationIOS. Don’t need backendless-react-native in order to work on iOS. Still looking to make it work on Android. Regards
Hi Marcio
Could you share with us errors what you had or create a simple app to reproduce the issue and send it to support@backendless.com
Regards, Vlad