-
Notifications
You must be signed in to change notification settings - Fork 217
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
Android 13 support - PhotoViewer unable to open image as permission changed #235
Comments
I've just made a new pull request to fix this issue #236 |
@AbidR-S2 We are still facing the issue and can't open the image. We can see Photos and videos permission under App Info and doesn't work even after enabling it manually. Here is our config XML :
Any solution? |
Are you installing the original plugin or my specific pull request with my code changes. You can see those code changes here https://github.com/sarriaroman/photoviewer/pull/236/files |
@banothurameshnaik and @AbidR-S2 , I've made the changes in the local code (inside node_modules - I know it's not the best solution and I'll change it afterwards) but it still doesn't work. It doesn't ask for permissions. I've done a cordova platform rm android && cordova platform add android@13 but still nothing... How can i best solve this? Any help appreciated and thanks for your hard work! Update: I've actually "solved" the issue by doing this: Remove current plugin: cordova plugin remove com-sarriaroman-photoviewer Add the plugin but using @AbidR-S2 PR: cordova plugin add https://github.com/sarriaroman/photoviewer.git#pull/236 |
For some reason dropping and re-adding the plugin fails with: I get the following error:
I am on a windows machine, command line. |
Strange, I've added it that way to 3 or 4 projects now and it worked, but I'm using MacOS |
@AbidR-S2 - is the pull reference above the same as your fork: It installs fine with
|
Well, for now I manually edited the PhotoViewer.java file with the @AbidR-S2 changes and it worked. Not certain why I couldn't do the plugin add with the pull/236 version, but hopefully someone merges all these fixes for the future. |
Behavior changes: Apps targeting Android 13 or higher
https://developer.android.com/about/versions/13/behavior-changes-13#granular-media-permissions
Plugin doesn't support. Please update accordingly.
The text was updated successfully, but these errors were encountered: