Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Adobe In app messaging on Android gives an error

sibelakcekaya
Level 2
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)

1 Accepted Solution
Jen_Andrews
Correct answer by
Employee
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
Jen_Andrews
Correct answer by
Employee
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