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

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>

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?

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

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.

Test Users for a Production App

We have developed a Facebook Canvas App, and using the test version, we create test users who can successfully install and test the app.
Here's the thing. Using the production version of the app (not yet approved by Facebook), and using test users created under this version, when I try and install the app to the user I get the error message "User is not allowed to see the application.: The user is not allowed to see this application per the developer set configuration."
I have made sure I am not logged in as another test user, I've cleared the cache prior to logging in as the test user, etc.
As near as I can tell, test users created under the production version should be able install the app and test it, correct?
If not, then when you submit the app for Facebook Approval, what accounts will the use?
Thanks!!
Here's an explanation:
Created test users under the test app won't be able to use the prod app, just as Created test users under the prod app won't be able to use the test app.
Real users, added as TESTERS of the prod app, should be added manually as testers of the Test App.

access facebook application from non admin account not work

I have downloaded an example of Facebook Application using PHP sdk, and it is working well when I access it from the account that admin that application but when I try to access it from another account I got an error message
please any help
Check the Sandbox Mode for the app on https://developers.facebook.com
This restricts the application to developers.