cancel
Showing results for 
Search instead for 
Did you mean: 

Emarsys Mobile Engage integration with flutter

0 Kudos

Hi Expert,

We want to actived a mobile channel. The application is written in flutter platform. We did add github. We are getting an error about token. How can set "pushToken - String" we couldn't see pushtoken event flutter main.dart.

https://github.com/emartech/flutter-plugin-for-sap-emarsys-customer-engagement/tree/master/example

E/flutter ( 4358): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: PlatformException(error, PushToken must not be null, null, java.lang.IllegalArgumentException: PushToken must not be null

Accepted Solutions (0)

Answers (2)

Answers (2)

WillYoung
Advisor
Advisor
0 Kudos

So, after a call with Ömer and one of our development team, the issue is that we have not yet added pushToken to our Flutter integration, but since you are not the first person to raise this issue we are escalating and will include this update in the soonest possible development cycle.

Thanks omer.yildirim for helping us prioritise this fix!

WillYoung
Advisor
Advisor
0 Kudos

Hi omer.yildirim, I have checked with our tecfhnical team and they have 2 questions for you:

1) Please confirm that you have implemented the EmasysFirebaseMessagingService

[Docu https://help.emarsys.com/hc/en-us/articles/360021111378-Flutter-integration-Mobile-Engage-Flutter-pl...]

2) Can you also share with us you AndroidManifest file. You can email it to me on will.young@sap.com.