You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Missing import, or unclear examples on how the application instance can be retrieved for the usages of the MobileCore.setApplication API.
What changes do you propose?
Update all examples on setApplication(...) and indicate the application instance needs to be passed as a parameter. May include link to Android dev docs like Activity#getApplication or examples depending on the surrounding context such as MobileCore.setApplication(this) or MobileCore.setApplication(activity.getApplication())
Anything else that can help to cover this?
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Which topic?
https://developer.adobe.com/client-sdks/home/base/mobile-core/lifecycle/#register-lifecycle-with-mobile-core-and-add-appropriate-startpause-calls
What's wrong with the content?
Missing import, or unclear examples on how the application instance can be retrieved for the usages of the MobileCore.setApplication API.
What changes do you propose?
Update all examples on setApplication(...) and indicate the application instance needs to be passed as a parameter. May include link to Android dev docs like Activity#getApplication or examples depending on the surrounding context such as
MobileCore.setApplication(this)
orMobileCore.setApplication(activity.getApplication())
Anything else that can help to cover this?
No response
The text was updated successfully, but these errors were encountered: