-
Notifications
You must be signed in to change notification settings - Fork 55
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
this works fine in browser and ripple but not worked when app installed on device #10
Comments
now got the rootcause: if use {{}} like cache-src="{{testpic}}", then it will fail to get pic because attrs.$observe('cacheSrc', could not be excuted. |
Would you mind to try to install this demo app https://github.com/BenBBear/ionic-cache-src-demo on your testing device and see what happens? And the console error from chrome remote debugger will be very helpful. |
Thanks for reply. |
my nick name is 笨笨熊 too :) |
好奇怪,你这个问题是只在android上才发生吗? 我刚才在android emulator上测没问题, 另外ios有没有这个问题? |
只有安卓上有,ios上 没问题,而且只有使用{{}}绑定才有问题,直接用url没问题 |
自己试的时候的android是没有问题的, 而且ios成功,android失败,估计是android webview的问题了。。。 你测试的android系统version大概多少 |
i had problem in real android device too. Using emulator also the same problem. I use windroye as emulator. No error also from debug. if run using ionic serve, it works well. Edited: after some investigation, i thought it must be relevant to how to access file on the android. |
Awesome! Thank you so much for the solution you brought up. I will add this to readme. This could be a good explanation for some not working issues about android! However, as @ghostgrass mentioned, using |
Hi, add preference via @wahyuway still not working. |
Hi, Then it works perfect~ |
Thanks @seasonstar, it indeed corrects the problem. |
I fix the these bugs together with some else, and add video/audio support and more examples. Thank you guys for helping!! |
Maybe there is another solution, which is replace image with div by setting "src-is" to "background". |
this works fine in browser and ripple but not worked when app installed on device.
but change cache-src to ng-src then the image could be shown.
Any idea on this?
The text was updated successfully, but these errors were encountered: