Android Question android:usesCleartextTraffic="true" need help!

DonManfred

Expert
Licensed User
Longtime User
what must I add to fix this ?
Start with using the forumsearch before asking
err_cleartext_not_permitted

One of the threads found is android.jar / targetSdkVersion / minSdkVersion which must have a reason. As this thread is a really important one regarding changes in the Android SDK you should revisit the thread.

- 28 - Foreground services require a new non-dangerous permission. It is added automatically if using B4A v9+.
- 28 - The old http SDK is not available by default. This will cause problems with native libraries such as Google Maps who rely on the old SDK. To enable it: https://www.b4x.com/android/forum/t...ar-error-in-android-9-pie.103247/#post-649875
- 28 - Non-ssl (non-https) communication is not permitted by default. It can be enabled in B4A v9+ by adding this line to the manifest editor:
Code:
CreateResourceFromFile(Macro, Core.NetworkClearText)
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
Start with using the forumsearch before asking
err_cleartext_not_permitted

One of the threads found is android.jar / targetSdkVersion / minSdkVersion which must have a reason. As this thread is a really important one regarding changes in the Android SDK you should revisit the thread.

this search result doesnt give any result except my own message: err_cleartext_not_permitted

After adding the required text to manifest , the app directly crashes on android 8 devices. I will debug and post what causes the crash. I have changed the target apk to 26 again temporarily.
 
Upvote 0
Top