aquinn637 / FireBaseTest2

Apache License 2.0
0 stars 1 forks source link

Let's get push notifications working #1

Open EddyVerbruggen opened 4 years ago

EddyVerbruggen commented 4 years ago

Hi,

Regarding https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/1440.. I'm missing a few files in your repo that are pretty essential if I want to recreate your exact issue. For instance the iOS entitlements file and the firebase.nativescript.json. Can you please check it?

aquinn637 commented 4 years ago

@EddyVerbruggen I haven't tried to do iOS yet. Is this file (firebase.nativescript.json) a part of the node modules?

EddyVerbruggen commented 4 years ago

Oh sorry, there were a few folks asking questions about iOS so I figured this was also about iOS.

That firebase.nativescript.json file is supposed to be in the root of the project and gets created when installing the plugin.

On Android when the app is in the foreground the notifications can only show up on newer Android versions (I think you mentioned you're using 5.0?). Does that help?

vytautas-pranskunas- commented 4 years ago

Hi, do you have this sorted out? I also get notifications only in console in onMessageReceivedCallback but notifications are not showing