Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve MobileCore setApplication docs #465

Open
1 task done
emdobrin opened this issue Jan 5, 2024 · 0 comments
Open
1 task done

Improve MobileCore setApplication docs #465

emdobrin opened this issue Jan 5, 2024 · 0 comments
Assignees
Labels
coresquad documentation Improvements or additions to documentation

Comments

@emdobrin
Copy link
Contributor

emdobrin commented Jan 5, 2024

Is there an existing issue for this?

  • I have searched the existing issues

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) or MobileCore.setApplication(activity.getApplication())

Anything else that can help to cover this?

No response

@emdobrin emdobrin added the documentation Improvements or additions to documentation label Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coresquad documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants