Push notification works incorrectly when app is on background or not running

后端 未结 2 1151
忘掉有多难
忘掉有多难 2020-11-22 12:41

I am using Firebase Cloud Messaging to send push notifications.

Here is my FirebaseMessageService:

public class FireBaseMessageService e         


        
2条回答
  •  野性不改
    2020-11-22 13:05

    I spent 2 weeks to understand why my application cannot receive data message anymore when it's in background and as strange as it could be, I arrived to the conclusion that Android-Studio 2.1.2 is the problem!

    I cannot receive any FCM message anymore in background application

    https://github.com/firebase/quickstart-android/issues/89

提交回复
热议问题