Android: Difference between revisions
m link Termux |
→References: 14: fix name |
||
| Line 30: | Line 30: | ||
===Apps cannot run writable files=== | ===Apps cannot run writable files=== | ||
Apps targeting Android 10 aren't allowed to execute files from their "home" folder, as this is enforced by the system.<ref>{{Cite web |title=Behavior changes: apps targeting API 29+ |url=https://developer.android.com/about/versions/10/behavior-changes-10#execute-permission |url-status=live |archive-url=https://web.archive.org/web/20260209004831/https://developer.android.com/about/versions/10/behavior-changes-10#execute-permission |archive-date=2026-02-09 |access-date=2026-03-02 |website=Android Developers}}</ref> While "targeting" any version is an opt-in choice, the [[wikipedia:Google_Play|Google Play Store]] policy forbids apps that target old Android versions.<ref>https://developer.android.com/google/play/requirements/target-sdk</ref><ref>[https://support.google.com/googleplay/android-developer/answer/16561298?hl=en https://support.google.com/googleplay/android-developer/answer/16561298]</ref><ref>https://support.google.com/googleplay/android-developer/answer/11926878</ref> This negatively impacts apps such as [[wikipedia:Termux|Termux]],<ref>{{Cite web |first= | Apps targeting Android 10 aren't allowed to execute files from their "home" folder, as this is enforced by the system.<ref>{{Cite web |title=Behavior changes: apps targeting API 29+ |url=https://developer.android.com/about/versions/10/behavior-changes-10#execute-permission |url-status=live |archive-url=https://web.archive.org/web/20260209004831/https://developer.android.com/about/versions/10/behavior-changes-10#execute-permission |archive-date=2026-02-09 |access-date=2026-03-02 |website=Android Developers}}</ref> While "targeting" any version is an opt-in choice, the [[wikipedia:Google_Play|Google Play Store]] policy forbids apps that target old Android versions.<ref>https://developer.android.com/google/play/requirements/target-sdk</ref><ref>[https://support.google.com/googleplay/android-developer/answer/16561298?hl=en https://support.google.com/googleplay/android-developer/answer/16561298]</ref><ref>https://support.google.com/googleplay/android-developer/answer/11926878</ref> This negatively impacts apps such as [[wikipedia:Termux|Termux]],<ref>{{Cite web |last=n0n3m4 |first= |date=2019-03-18 |title=No more exec from data folder on targetAPI >= Android Q |url=https://github.com/termux/termux-app/issues/1072 |access-date=2026-03-02 |website=GitHub}}</ref> which must be "[[Sideloading|sideloaded]]" so that the policy is not applicable, otherwise they must find a way to bypass it (risks legal issues).<ref>{{Cite web |last=Kang |first=Jinoh |date=2021-07-03 |title=Revisit the Android W^X problem |url=https://github.com/termux/termux-app/issues/2155 |access-date=2026-03-02 |website=GitHub}}</ref> | ||
===Blocking sideloading of unverified Android apps (2026-2027)=== | ===Blocking sideloading of unverified Android apps (2026-2027)=== | ||