You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @dpa99c 👋 , I updated to the most recent version 7.1.0, but when running requestCameraRollAuthorization() and choosing the select photos option, it returns denied_always. Shouldn't it be the the limited value?
// example codediagnostic.getCameraRollAuthorizationStatus(function(authorizationStatus){switch(authorizationStatus){casediagnostic.permissionStatus.NOT_REQUESTED:
console.log("Permission not requested");diagnostic.requestCameraRollAuthorization(function(status){// select photos optionconsole.log("status",status)// Output: "status denied_always"(...)
Bug report
CHECKLIST
Current behavior:
If user selects to only expose selected photos to the app 'authorized' is returned as status.
Expected behavior:
If user selects to only expose selected photos to the app 'limited' should be returned as status.
Steps to reproduce:
Request authorization status on a device running iOS 14.0 or higher and choose to select images.
Other information:
Similar issue exited with #425 but got no response. Information about limited photos access is requiered because some functionality that is cut requires adapting the ui (e.g.: https://developer.apple.com/documentation/photokit/delivering_an_enhanced_privacy_experience_in_your_photos_app#3695524 or access to metadata).
Environment information
Cordova CLI version:
10.0.0
Cordova platform version
Installed platforms:
ios 6.2.0
Available platforms:
android ^9.0.0
browser ^6.0.0
electron ^1.0.0
osx ^6.0.0
Plugins & versions installed in project (including this plugin)
cordova-plugin-androidx-adapter 1.1.3 "cordova-plugin-androidx-adapter"
cordova-plugin-camera 6.0.0 "Camera"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-file 7.0.0 "File"
cordova-plugin-geolocation 4.1.0 "Geolocation"
cordova-plugin-statusbar 3.0.0 "StatusBar"
cordova.plugins.diagnostic 6.1.1 "Diagnostic"
The text was updated successfully, but these errors were encountered: