Joplin: Android: Image with http-url cannot be rendered

Created on 12 Feb 2020  路  7Comments  路  Source: laurent22/joplin

Environment

Joplin version: joplin-v1.0.318(64-bit)
Platform: Android
OS specifcs: Android 10 (Redmi K20 Pro-MIUI11.0.5)

Steps To Reproduce

It just cannot show the image on Android like this:
mark

The markdown content is:

![涓枃鐗圿(http://notefiles.licheedev.com/pics/20200212/RTYT0iIlSvKr.jpg?imageslim)

.

bug

Most helpful comment

I have started to work on this issue.

Reason and solutions may be here:
Cleartext HTTP traffic not permitted.
https://stackoverflow.com/questions/45940861/android-8-cleartext-http-traffic-not-permitted

All 7 comments

I have started to work on this issue.

I have started to work on this issue.

Reason and solutions may be here:
Cleartext HTTP traffic not permitted.
https://stackoverflow.com/questions/45940861/android-8-cleartext-http-traffic-not-permitted

I have started to work on this issue.

Maybe the same reason
https://github.com/laurent22/joplin/issues/2517

WhatsApp Image 2020-02-22 at 8 05 56 AM

@rankaiyx @licheedev could you confirm about this issue again, as I don't see any problem rendering the image in android

@amitsin6h
My phone is Android 10.
All http-images can be rendered on desktop-editon, but failed on Android.
mark

Starting with Android 9 (API level 28), cleartext support is disabled by default
https://developer.android.com/training/articles/security-config.html#CleartextTrafficPermitted
https://developer.android.com/guide/topics/manifest/application-element#usesCleartextTraffic

Add android:usesCleartextTraffic="true" on <application/> tag can solve this problem.

@licheedev ok thanks for your reply. I will look after it

@licheedev ok thanks for your reply. I will look after it
I would appreciate it if you could fix this issue by the way:
https://github.com/laurent22/joplin/issues/2517

Was this page helpful?
0 / 5 - 0 ratings