I am developing an android application with user login and push notification facility.
So as per the documentation, I created a FCM account and created a database for saving access token.
user table
user_id | username
----------+---------------+
1 | name 1 |
2 | name 2 |
--------------------------+
access token table
---------------------------------------+
id | user_id | access_token |
-----+-------------+-------------------+
1 | 2 | abfdfsfsdfsf |
2 | 2 | abfdfsfsdfsf |
-----+-------------+-------------------+
I just created separate table for access token because an user can login from any number of devices.
I am requesting and saving access token when the "user login" process.
So my questions are.
I heard, when user clear the app data - then the generated access token will lost. Is it true ? If yes, in which process I need to save the access token ?
Is there is any recommended method for saving the multiple access token against user ?
Is there any limit in the notification send per day ?
Thanks in advance