-
Notifications
You must be signed in to change notification settings - Fork 180
uses-feature and camera request in Ionic 6 #119
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
Comments
If you didn't use |
Hello, If a feature is explicitly declared as not being required, Google Play does not add the feature to the list of required features. For that reason, an explicitly declared non-required feature is never considered when filtering the application. Even if the device does not provide the declared feature, Google Play will still consider the application compatible with the device and will show it to the user unless other filtering rules apply. For example:
And this is important: So I have to request permission. |
@NeoLSN I tried it without any uses-permission and uses-feature same behavior, no prompt, and as a result hasPermission=false. So I tried it with that AndroidManifest.xml:
if I use uses-permission, I will be asked for permission without any plugin, but it is not appearing in the google play store for smartphones without a camera. |
Hello,
I have a problem with this Plugin V1.1.5. I try to request camera permission, but it is not showing any prompt, and it always returns hasPermission = false. I'm currently using Ionic 6 with Angular 12, Cordova 8.1.0, Android SDK 31, and @awesome-cordova-plugins/android-permissions Version 6.2.0. I have to use uses-feature because it is optional in my application, and with uses-permission the google play store is filtering out our app for devices without a camera.
This is my code that I execute by clicking a button:
in the .module.ts:
my AndroidManifest.xml:
I thank you in advance for any help.
The text was updated successfully, but these errors were encountered: