Adobe In app messaging on Android gives an error | Community
Skip to main content
sibelakcekaya
Level 2
April 11, 2018
Solved

Adobe In app messaging on Android gives an error

  • April 11, 2018
  • 1 reply
  • 2802 views

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)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jennifer_Andrews

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

1 reply

Jennifer_Andrews
Adobe Employee
Jennifer_AndrewsAdobe EmployeeAccepted solution
Adobe Employee
April 11, 2018

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