I have a question for Android FCM.

Asked 1 years ago, Updated 1 years ago, 68 views

Implement fcm server on java restful server on local host Android makes a request to the server and the local server delivers the response using the fcm service.

There is a problem, if you receive fcm sent from the server 20 times from the Android app, you will not be able to receive the message even if the server sends an fcm message to the app.

However, if you turn off the wifi and turn it back on, you can receive it 20 times again. Likewise, if it goes over 20 times, it won't be able to be received again.

What's the problem? Hasn't this problem occurred among those who implemented fcm?

fcm android

2022-09-21 19:51

1 Answers

Push messages, whether FCM or GCM, should never be sent at short intervals and repeatedly.

Push message may be missing as you asked.

When you need to communicate with the server repeatedly, you can use a class like Timer to get a response from the server via regular HTTP communication.


2022-09-21 19:51

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.