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

`android.permission.INSTALL_PACKAGES` is required? #424

Closed
sakebook opened this issue Feb 25, 2020 · 2 comments
Closed

`android.permission.INSTALL_PACKAGES` is required? #424

sakebook opened this issue Feb 25, 2020 · 2 comments

Comments

@sakebook
Copy link

@sakebook sakebook commented Feb 25, 2020

I am confused.
In the SDK documentation, android.permission.INSTALL_PACKAGES is required, but in the Android documentation, it is Not for use by third-party applications.

Is it OK to use android.permission.INSTALL_PACKAGES?

@shashanksu

This comment has been minimized.

Copy link
Contributor

@shashanksu shashanksu commented Feb 25, 2020

If you are still using old Google Play Store INSTALL_REFERRER intent with a broadcast receiver (which is not advisable now), then only it is required to have that permission. But as mentioned in the SDK documentation note it is going to deprecate.

So now you should use Google Play Referrer API and where you don't require the declaration of receiver and its permission android.permission.INSTALL_PACKAGES.

@sakebook

This comment has been minimized.

Copy link
Author

@sakebook sakebook commented Feb 25, 2020

Thank you for quick reply!

I understood. I will use Google Play Referrer API and delete receiver in my app :)

@uerceg uerceg closed this Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.