Open Daniel123454321 opened 1 year ago
I made now a complete empty new cordova project. With no other plugins, no extra code, no Quasar/Vue Framework. Just the default cordova template + getPermission + getToken Code.
It's just like above: I get the warning when building & I don't get an tokenID. It doesn't work on the emulator nor after deploying it via the play store.
Maybe someone has a working sample project to share or want's to check my code.
any solution ?
Problem: I do not get an individual token from getToken method. But I can send messages via the firebase console using the package name - and the messages getting recieved by the device. But without a token there is no individual messaging possible.
On building I get an warning: "Library expects a BoM package: com.google.firebase:firebase-messaging"
System:
What have I tried to resolve that problem:
I hope anyone has an idea or can point me in the right direction.
Update: I tried now several other cordova plugins and also some paid services like wonderpush. The Problem is everywhere the same. I get no token or deviceID. When I look on the backend (e.g. Wonderpush) I can see that there of course is an token oder deviceID registered. So it seems the problem is somewhere else - but I don't know where :/