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

REQUEST_INSTALL_PACKAGES permission #684

Open
binwiederhier opened this issue Mar 26, 2023 · 3 comments
Open

REQUEST_INSTALL_PACKAGES permission #684

binwiederhier opened this issue Mar 26, 2023 · 3 comments
Labels
android-app ntfy Android app question This is a question

Comments

@binwiederhier
Copy link
Owner

I received this question via email:

I was reading about your software ntfy, and I think it's great !
But I was shocked to know that it requires the "REQUEST_INSTALL_PACKAGES" permission. Why ?
I also noticed that the GooglePlay version doesn't need this permission, but the F-Droid version declares it.
Why the difference between the two versions?

@binwiederhier binwiederhier added the question This is a question label Mar 26, 2023
@binwiederhier
Copy link
Owner Author

There is a bit more background on it here: #531

But the summary is: When you send an .apk file to ntfy as an attachment, Android will not allow you to install the .apk unless the application that downloaded the file has the REQUEST_INSTALL_PACKAGES permission. This applies to trying to install the .apk from ntfy itself, as well as when you try to install it from a file browser. It was wild.

This at least was the case on my device. But when discussing this in Discord it was not everyone's experience.

Honestly I am happy to remove the permission. I don't think many people will miss it.

@binwiederhier binwiederhier added the android-app ntfy Android app label Mar 26, 2023
@Quantum-Future
Copy link

Quantum-Future commented Mar 30, 2023

I agree with Google's view explained in #531: "Permission use is not directly related to your app's core purpose".
Why sending an .APK as a ntfy attachment? To make updates?
I don't feel comfortable knowing that an .APK could be installed automatically from within ntfy.
I prefer having this permission removed.
Thank you.

@Quantum-Future
Copy link

Hello, the current version (1.16.0) was released on Dec 11, 2022.
Do you have plans for releasing an updated version without this permission and some bugfixes or new features?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android-app ntfy Android app question This is a question
Projects
None yet
Development

No branches or pull requests

2 participants