我已经为我的Android应用程序启用了Firebase应用内消息传递.当我测试应用内消息传递时,它显示在应用程序的SplashActivity中.
Activity flows like: SplashActivity>LoginActivity>MainActivity
注:
I tried to add in onCreate() this below line of code:
FirebaseInAppMessaging.getInstance().setMessagesSuppressed(true)
And FirebaseInAppMessaging.getInstance().setMessagesSuppressed(false)
in onDestroy()
我想在主要活动中展示这个消息.