Trying to send event to AEP from Android Kotlin. While request went initially, now we are seeing Identity shared state is pending and message is not reaching AEP. Want to know what could be the issue.
Steps Followed:
Initially Registered following
Edge.registerExtension();
Identity.registerExtension()
Messaging.registerExtension(); // register Messaging
MobileCore.start{
MobileCore.configureWithAppID(ADOBE_LAUNCH_CLIENT_ID)
}
At point where we want to send Event
val xdmData:HashMap<String, Any> = HashMap<String, Any>()
Identity.getExperienceCloudId {
ecid = it // ECID is got successfully
}
xdmData.put(tenantId, reviewXdmData);
val experienceEvent = ExperienceEvent.Builder()
.setXdmSchema(xdmData)
.build()
Edge.sendEvent(experienceEvent, null)
Please suggest what we are missing and how to resolve the issue