Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
225 views
in Technique[技术] by (71.8m points)

android - Sending a notification from firebase console initialize Application class when the App is killed

I'm sending a push notification from firebase console with a title and text to an Android app that is killed. The push notification is received well and onMessageReceived listener is not called as expected, but the main application is initialized, this is something that always will happen for some reason, or is initialized for something else that maybe I can avoid? Because I want to send a message to this app, but I don't want to initialize the Application class because many APIs are called there.

Thanks!

question from:https://stackoverflow.com/questions/65924822/sending-a-notification-from-firebase-console-initialize-application-class-when-t

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...