Notificación Push le llega a usuarios que no comparten vehículo

Anton Tananaev6 years ago

If there is no token, you won't receive any push notifications. Which flavor of the app have you compiled?

Manuel Suárez6 years ago

as an application flavor use google

Anton Tananaev6 years ago

Then you probably need to debug the app and web app to find out why you don't get token.

Manuel Suárez6 years ago

How could I do that?

Anton Tananaev6 years ago

There is plenty of information online on how to do it. I won't be able to explain in a single post.

Manuel Suárez6 years ago

ok I thank you very much and for your patience

Nikko3 years ago

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?

Anton Tananaev3 years ago

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.

Nikko3 years ago

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.

Anton Tananaev3 years ago

I don't think that's possible. Token is generated by Google per device.

Nikko3 years ago

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...

Nikko3 years ago

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.