Are AndroidManifest.xml permissions all permissions that an App will use? - android-permissions

something that I did not clearly understood from the documentation:
Are the permissions in AndroidManifest.xml all permissions the app might ask for?
Or in other words:
Are the permission in AndroidManifest.xml already granted on installing?
Can the app ask for permissions that are not in the AndroidManifest.xml?

So in the original versions of Android, permissions in AndroidManifest were automatically granted. If they installed it, the app had those permissions.
In more modern versions (5.0 or 6.0), the manifest is the superset of all permissions it may ask for. Some (like internet) are automatic. Others require requesting at runtime. An app may not request a permission it doesn't declare in its manifest.

Related

Unable to upload my ionic app due to request install package permission issue

Request Install Packages Permission: Permission use is not directly related to your app's core purpose.We found that your app is not compliant with how REQUEST_INSTALL_PACKAGES permission is allowed to be used. Specifically, the use of the permission is not directly related to the core purpose of the app.
I tried this solution on my manifest.xml file
I also contact to play console support and also uploaded a video for all my app functionality still my app get rejected.

We found that your app is not compliant with how REQUEST_INSTALL_PACKAGES permission is allowed to be used

Our app is built in Ionic / Capacitor.
I got this mail when I submit my latest app.
Our latest app is rejected.I try to resubmit app and also try to appeal but nor I got response nor my updates are approved.
In our latest bundle I try to add
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" tools:node="remove"/>
So now our app not contain this permission and also now that is not shown in below permission
But still my app is rejected after this.Is there any place from where I have to remove this permission?

How to grant photos permission for flutter integration test in iOS simlulator?

Please help to identify the problem about permission to access photo library in iOS simulator (iOS 15.0) with flutter test (integration_test).
I'm trying to use flutter integration testing with a mobile app required permission to access photo. ex change user profile picture.
try to use command line as below to grant the permission
xcrun simctl privacy booted grant photos <app bundle id>
But when return to access photos in the app,it always asks permission to access photos library. (xcrun for grant all access is not working)
Anyway, when using revoke
xcrun simctl privacy booted revoke photos <app bundle id>
For this time, the app displays no permission to access photos library correctly. (xcrun is working as expected)
How to grant permission to access photo library,no permission asking when runing flutter test script?
Thank you very much.
Have you added the following keys to your Info.plist file located in /ios/Runner/?
<key>NSPhotoLibraryUsageDescription</key>
<string>Grant permission to photo library</string>

Persist accessibility permissions between builds in xcode 13

I am building a window manager that requires the use of the Accessibility API for macOS. My code works fine if I build the app, grant the debug build accessibility permissions in the Security and Privacy panel, and then run my code. But if I change any code, I have to regrant the permissions manually and it is incredibly laborious to do between each build.
How can I persist the permissions between builds? I see this is an issue elsewhere and I have tried all the tactics I found on Stack Overflow so far.
Auto allow access to MacOS accessibility API during development
MacOS Monterey 12.2.1 Keeps Asking for Accessibility Permission for an App When Launched from XCode 13.2.1 Even After Granting the Permission
How to prompt for accessibility features in a macOS app (from the AppDelegate)?
Figures I would solve this right after I post it.
The App needs to be signed with a certificate following this process to keep continuity between builds.
If your Apple ID is already hooked up to XCode and you have a developer account, I went to the "Signing and Capabilities" section in the App Targets section and updated "Signing Certificate" to "Development".

iPhone - Install App To Applications Folder

I am having issues with an app I am developing (NOTE: It is for research/learning purposes only so it does not need to be apple store approved). I need access to system files outside of the sandbox. I was wondering if anyone knew of a way to install to the root /Applications/ folder to avoid being sandboxed. From reading other questions this seems to be impossible for Xcode, but is there a way to build non-sandboxed apps with other editors? If so, what are some?
It seems that you need root permissions first and then you use the SSH feature of a jailbroken device in order to install to the /applications folder. See here for more information that helps on this topic: Gaining root permissions on iOS for NSFileManager (Jailbreak)