Android Question How to design work flow, If I don't use Google service for notification.

Songwut K.

Member
Licensed User
Longtime User
If I plan to make my internal company app, that not publish to google play.

My app feature must have notification for each user.

How can I design the system work flow ?

How to make it work in background ?
 

Lucas Siqueira

Active Member
Licensed User
Longtime User
If I plan to make my internal company app, that not publish to google play.

My app feature must have notification for each user.

How can I design the system work flow ?

How to make it work in background ?


You can use notifications through firebase.
When the user logs in to your app, you capture the user's unique firebase token, and send it to your server to save the login data with the token. When you want to send a message to the user, you search your database for that user's token and put a filter on the firebase message, so that it is sent only to that user.
 
Upvote 0

Songwut K.

Member
Licensed User
Longtime User

Firebase still google product, If I want to publish huawei or other store or raw apk download, it still work ?
 
Upvote 0

Lucas Siqueira

Active Member
Licensed User
Longtime User
Firebase still google product, If I want to publish huawei or other store or raw apk download, it still work ?

Yes, firebase is from google, some options are paid, but messaging is completely free, I use it in my apps, it works perfectly, fast and secure.
 
Upvote 0

Brandsum

Well-Known Member
Licensed User
You can use socket.io or any websocket library for app to app or server to app communication. And you can also use those for background notification but for that you need to run a stickey service.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…