We have a Android App (Kotlin) and we declared Mobile App Events in Journey Builder.
We created a Journey with an entry source configured to respond to one of our Events and are struggling to trigger it from our App.
The documentation indicates the following call example :
val event = EventManager.customEvent("EventName", mapOf("key1" to "value2", "key2" to "value2"))
SFMCSdk.track(event)
However, when doing this, we get the following error :
Type mismatch.
Required: com.salesforce.marketingcloud.sfmcsdk.components.events.Event?
Found: com.salesforce.marketingcloud.events.Event?
So we are stuck doing the call.
Any help appreciated.