Troubleshooting and FAQs - Flutter

Android - Why are notifications not working in the background or killed state?

Ensure that you are initializing MoEngage in the Application class and in the main thread.

Sample code link - GitHub

Android - Why are callbacks not working in the background or killed state?

MoEngage callbacks must be registered in your application's root/App widget, and after setting them up, you must call the MoEngage Plugin's initialize () method. Read more about it here.

Sample code link - GitHub

Android - Why are inapp/nudge deep links not working?

Unilke the push notification handling, MoEngage SDK doesn't handle inapp redirections by default (except for rich landing page), please refer to the documentation here. You must implement inapp click callback methods in your root/app widget and call moengage plugin initialise() method after registering for callbacks. In these callbacks, you must handle the redirection for deeplink or screen-based redirection. Callback documentation is given here.

Android - Why are inapp callbacks not working?

Refer to this documentation to set up in-app callbacks. Additionally, you must register the callbacks in your application's root/App widget, and after setting them up, you must call the MoEngage Plugin's initialize () method.

 

 

Previous

Next

Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?