How would one go about doing that for Android apps? I guess android apps don't respect that flag?
This require a rooted phone. Or you can patch the app with objection, so you don’t need the root: https://github.com/sensepost/objection/wiki/Patching-Android...
Can download the APK from places like https://apkpure.com/
If you run it in a sandbox environment it's probably okay-ish, but if you already have the app installed from a trusted source on your phone, you can grab the APK file with `adb pull`.