Skip to content
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

The image file could not be opened. #208

Closed
edmirjano opened this issue Jul 28, 2020 · 5 comments
Closed

The image file could not be opened. #208

edmirjano opened this issue Jul 28, 2020 · 5 comments

Comments

@edmirjano
Copy link

i'm using ionic framework, when i select the specified images and click ok i always get this error message "The image file could not be opened."
I checked permissions and they are ok.

Screenshot 2020-07-29 at 1 15 12 AM

@Anuj-logiciel
Copy link

For the time being, Can you give a try by forking the plugin and adding -

<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
            <application android:requestLegacyExternalStorage="true" />
</edit-config>

in plugin.xml in after this.

Confirm if that works. So that it can be updated to actual plugin.

@edmirjano
Copy link
Author

Yes it works :) thank you

@anujraghuvanshi
Copy link

Just for an update. Fix has been updated to plugin also. Thanks!

@codehack26
Copy link

For the time being, Can you give a try by forking the plugin and adding -

<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
            <application android:requestLegacyExternalStorage="true" />
</edit-config>

in plugin.xml in after this.

Confirm if that works. So that it can be updated to actual plugin.

Works on some devices, for me it doesn't work on oneplus 5T

@ariverorigin
Copy link

Solution doesn't work on Android 12, shows an error "The image file could not be opened."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants