Android Question push message and sqlite store data

paul fredrick

Member
Licensed User
Longtime User
I would like to use a parameter in a push message that activates a refresh process of a sqlite table.
how can you get this?
thank you
 

KMatle

Expert
Licensed User
Longtime User
You can send whatever you need in a push message (I assume you mean Firebase Messaging). Use a "data" message. See my or other examples: https://www.b4x.com/android/forum/t...oreground-background-data-notification.73356/

So just send some data, receive it, check it's content and do a refresh (e.g. via OkHttpUtils to retrieve the updated data from you website or so).

If I get you wrong: More details will be helpful :)
 
Upvote 0
Top