dankito / RichTextEditor

Rich text WYSIWYG editor for Android and JavaFX
Apache License 2.0
95 stars 36 forks source link

Doesn't load images from storage #54

Closed seregin-pro closed 3 years ago

seregin-pro commented 4 years ago

It is strange but when I set targetSdkVersion 30 images don't load. When targetSdkVersion 29 or web address normal.

android { compileSdkVersion 30 buildToolsVersion "29.0.2" defaultConfig { applicationId "ru.pro.seregin.mynotes" minSdkVersion 22 targetSdkVersion 30 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" }

dankito commented 3 years ago

Yes, this is due to a major change to file access API in Android 30: https://developer.android.com/about/versions/11/privacy/storage https://stackoverflow.com/questions/63128749/unable-to-load-local-html-file-on-api-level-30

Version 2.0.20 should fix that now.