b4a programmer
Member
I want to write a chat program without using Firebase (because I like being independent and I also want to improve my programming skills by doing so)
So this program should work in the background and receive messages from others and create a notification. I know this is very easy with Firebase, but I love the challenge to increase my knowledge. But we all know that this may consume the user's battery a little, and also in most versions of Android, the service activity in the background is limited after a while. But how is WhatsApp or Telegram always active in the background without using Firebase and without getting any additional access from the user, and this activity is not limited or does not damage the battery?
Please fully advise ...
Thanks?
So this program should work in the background and receive messages from others and create a notification. I know this is very easy with Firebase, but I love the challenge to increase my knowledge. But we all know that this may consume the user's battery a little, and also in most versions of Android, the service activity in the background is limited after a while. But how is WhatsApp or Telegram always active in the background without using Firebase and without getting any additional access from the user, and this activity is not limited or does not damage the battery?
Please fully advise ...
Thanks?