as an application flavor use google
Then you probably need to debug the app and web app to find out why you don't get token.
How could I do that?
There is plenty of information online on how to do it. I won't be able to explain in a single post.
ok I thank you very much and for your patience
hello anton, I have the same problem, the application automatically creates a token for me within the attributes in the "account" section but not in the device attributes, I have noticed that all users have the same token, could that be the problem?
Why do you expect token in the device attributes? It should only be in the user attributes. Same token means that you are probably logging in from the same phone, which is expected. Doesn't sound like there are any issues.
Even when logging in on different devices and with different accounts, I still have the same token in both user accounts and any push notification reaches both devices.
I don't think that's possible. Token is generated by Google per device.
Thanks for your help, I already found and solved the problem, apparently the token is created when you log in for the first time, in my case I created the users with an administrator account and logged in on the same device the first time... that's why they had the same token despite logging in on different devices...
I was doing tests and I created a new user on a different device and log in and now a different token appears than the other users, however when launching a test message it still arrives on all devices equally.
If there is no token, you won't receive any push notifications. Which flavor of the app have you compiled?