Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Adobe In app messaging on Android gives an error

Avatar

Level 2

We implemeted everything on Android but message is not displayed on trigger and we got this message. Can you help with this message?

thanks

ADBMobile Error : Message - No Current Activity (Messages must have a reference to the current activity to work properly)

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

In order to use in-app messages in Android, we need a reference to the current activity. You can reference by passing it in with the Config.collectLifecycleData(Activity activity); method. This method previously existed with no parameters, but a new overloaded version allows users to pass in the current activity.

Step 4.

In-App Messaging

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

In order to use in-app messages in Android, we need a reference to the current activity. You can reference by passing it in with the Config.collectLifecycleData(Activity activity); method. This method previously existed with no parameters, but a new overloaded version allows users to pass in the current activity.

Step 4.

In-App Messaging