-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Add android.permission.READ_LOGS #1821
Comments
Duplicate of #873 |
Sorry, couldn't find the posts. I don't want to revive the old threads, why was the previous requests denied? @xeffyr seem to think it doesn't work for regular apps, but it does since its a "development" permission, and ADB is only required once, to grant it. A few extra bytes of binary XML for a tag in the Sad, now i'll have to resort to some (shady) logcat reader app instead, or spend hours building Termux. |
I am open for re-visiting the decision. The permission is not strictly required for anything in termux-app/termux-api, and is only useful if the user runs an adb command, it feels a bit shady to add it as it is not clear what it is needed for. User still needs to find out that they need to run the adb command before it is useful. If we document it clearly then maybe it is okay. @xeffyr what do you think? |
@Grimler91 As Termux now is updated on F-Droid only, I'm okay with adding permissions. May add it today as well as update bootstraps and release Termux v0.103. |
@Grimler91 If uninformed, every permission could be seen as "shady". The "development" permissions are more secure since they can only be granted via ADB or as root, and not at run-time like other permissions. @xeffyr Great! FYI, the Google Play Store has no issue with "development" permissions, my app has included them for years. |
Please add
<uses-permission android:name="android.permission.READ_LOGS" />
to theAndroidManifest.xml
. It's a "development" permission which can be granted to via ADB, no root required, so thelogcat
command can print messages logged from all processes.The text was updated successfully, but these errors were encountered: