zadam / trilium-sender

Simple android application for sending images and notes to Trilium
GNU General Public License v3.0
80 stars 31 forks source link

Explicitly opt in to clearTextTraffic #18

Closed estasney closed 2 years ago

estasney commented 2 years ago

Hi zadam,

I noticed that after upgrading from 0.1 to 0.2 I was seeing "Network Error" when attempting to set the trilium url.

Logcat shows: UserLoginCoroutine: java.net.UnknownServiceException: CLEARTEXT communication to http://my_server_url not permitted by network security policy

Note that I'm using http not https.

According to docs cleartext support is disabled by defaullt starting with Android 9. My device is on Android 12.