Open Deorigami opened 3 weeks ago
@Deorigami My guess is that, it is triggered, but because you killed the app, you don't see the logs in Android Studio until you open it.
Also, where do you set listeners?
Please make sure this is added into your launcher activity. Also you set listener on app initialization, at least before this launcher activity is created
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
NotifierManager.onCreateOrOnNewIntent(intent)
...
}
override fun onNewIntent(intent: Intent?) {
super.onNewIntent(intent)
NotifierManager.onCreateOrOnNewIntent(intent)
}
@Deorigami My guess is that, it is triggered, but because you killed the app, you don't see the logs in Android Studio until you open it.
Also, where do you set listeners?
of course it is because i kill the app, i initialized it in onCreate Application, if i check in onCreate intent.extras, the extras is there
@Deorigami which listener is not triggered exactly?
there is this condition to trigger in the codebase
My issue is different from this https://github.com/mirzemehdi/KMPNotifier/issues/73
If my app is cleaned from recent app or killed, then i pushed an FCM, the notification is arrive but when i clicked it, the listener doesnt trigger anything tho the intent.extras is containing all the data/payload