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

Does not work on device Samsung GT-P5110 android 4.1 #18

Open
crouti opened this issue Mar 16, 2016 · 8 comments
Open

Does not work on device Samsung GT-P5110 android 4.1 #18

crouti opened this issue Mar 16, 2016 · 8 comments

Comments

@crouti
Copy link

crouti commented Mar 16, 2016

I've juste tested all version from 0.4 to 0.7 : the demo works on ios but never on android
Any idea ?

@crouti
Copy link
Author

crouti commented Mar 22, 2016

Any news about this problem ? Are you able to make the demo application work on an,y android platform ?
cheers

@crouti
Copy link
Author

crouti commented Mar 22, 2016

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

@mlzxy
Copy link
Owner

mlzxy commented Mar 23, 2016

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.

@crouti
Copy link
Author

crouti commented Mar 23, 2016

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
#18 (comment)

Max UNGER
06.66.13.16.26

www.termel.fr

@mlzxy
Copy link
Owner

mlzxy commented Mar 25, 2016

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.

@mlzxy
Copy link
Owner

mlzxy commented Mar 25, 2016

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.

@crouti
Copy link
Author

crouti commented Mar 30, 2016

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...

@crouti
Copy link
Author

crouti commented Apr 4, 2016

Can it be linked to this problem ?
https://github.com/driftyco/ionic-view-issues/issues/54

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

2 participants