ionic-cache-src
ionic-cache-src copied to clipboard
Does not work on device Samsung GT-P5110 android 4.1
I've juste tested all version from 0.4 to 0.7 : the demo works on ios but never on android Any idea ?
Any news about this problem ? Are you able to make the demo application work on an,y android platform ? cheers
I am actually waiting to deliver my app (totally ready) on android platforms just for this issue. Can you confirm it exists with your tests as well ? thank you very much
Before I always test with Android emulator and it works. Now I will try test on real android device.
Pls understand, I m busy as well.
Yes i totally understand, sorry for being insistent...
2016-03-23 4:42 GMT+01:00 Sayen Xinyu Zhang [email protected]:
Before I always test with Android emulator and it works. Now I will try test on real android device.
Pls understand, I m busy as well.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/BenBBear/ionic-cache-src/issues/18#issuecomment-200152286
Max UNGER 06.66.13.16.26
www.termel.fr
I do find one bug on the java http library in 4.1 android. See here: http://stackoverflow.com/questions/18502467/phonegap-cordova-filetransfer-error-3-android.
It won't happen for 5.x android indeed. The solution is
cordova plugin add https://github.com/MobileChromeApps/cordova-plugin-okhttp.git
use another http library. I am not sure this causes your problem but give it a shot.
Sorry the above one seems not the root cause.
Anyway the cordovaFileTransfer has some problem in old android.
Now I add this logic
if download errors, then skip caching and assign the url direct to src.
Thank you BenBBear for your efforts, Unfortunately, i confirm the above is not the root cause, and actually does not change anything. It doesn't seem to come from the file transfert plugin, as the file is actually correctly downloaded : the blue ring shows up, and clicking at the place where the image show appear (altough it doesn't) correctly shows the image in a popup (i have used such a mechanism to size images up). So the image IS downloaded, but is just not appearing in the content flow...
Can it be linked to this problem ? https://github.com/driftyco/ionic-view-issues/issues/54