Push notifications with "Readonly" User Account dont work

Nabil5 years ago

HELLO,
I have correctly set push notification through my firebase account and it is correctly passed when it comes to my TRACCAR admin account or another account with the "administrator" rights.

the problem is that when i create a user with the rights “Read only” the push notification is not sent.

could you help me please?

thank you in advance

Anton Tananaev5 years ago

Unfortunately that's a limitation of readonly accounts. User is not able to store its own firebase device token because account is readonly.

Nabil5 years ago

thank you for your reply.

but is there a solution for this case? I want that a simple user can receive a firebase notification on his smartphone

Nabil5 years ago

any idea please ? , it's for a project I'm working on, unfortunately today I'm blocked !