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

Issue with permissions on Android #229

Open
wkyleg opened this issue Jul 13, 2018 · 2 comments
Open

Issue with permissions on Android #229

wkyleg opened this issue Jul 13, 2018 · 2 comments

Comments

@wkyleg
Copy link

wkyleg commented Jul 13, 2018

Hi, I think I am experiencing an issue with permissions on Android. While the code I have works fine in the browser in Chrome, it does not work on Android. When I look at the app in settings, I notice that storage permissions are not enabled. However, enabling storage permissions does not fix this issue. Although the images load on the device, I do not see them stored anywhere in the file system. Any thoughts?

I am using ImgCache 1.1.1, and options are "debug: true."

I am using Angular 5.2.5 and Ionic 3.8.1.

I am also using Cordova, more specifically Android, using Cordova version 8.0.0, cordova-plugin-file version 6.0.1, cordova-plugin-file-transfer version 1.7.1, and cordova-plugin-device version 2.0.1.

The device is a Pixel 2 running Android 8.1.0.

Thanks very much!

@oliversalzburg
Copy link

If you have debugging enabled, what does the debug output tell you?

@Maistho
Copy link
Contributor

Maistho commented Sep 12, 2018

Are you using Ionics webview: cordova-plugin-ionic-webview? If so, you need to change the URL received from imgcache.js in order for images to load.

Something like in this PR: https://github.com/chrisben/imgcache.js/pull/228/files#diff-0f97643a2a18732757a668494d37a60fR196

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

3 participants