N nelson costa Member Licensed User Aug 7, 2019 #1 JAVA ERROR :Cannot send data to the server. CLEARTEXT communication to not permitted by network security policy How by-pass this block from Android 9 using http Tanks. Nelson. obs: (About https) using this feature type is not an option
JAVA ERROR :Cannot send data to the server. CLEARTEXT communication to not permitted by network security policy How by-pass this block from Android 9 using http Tanks. Nelson. obs: (About https) using this feature type is not an option
moster67 Expert Licensed User Longtime User Aug 7, 2019 #2 Try to add this in the manifest B4X: CreateResourceFromFile(Macro, Core.NetworkClearText) Upvote 0
amidgeha Active Member Licensed User Longtime User Aug 7, 2019 #3 nelson costa said: JAVA ERROR :Cannot send data to the server. CLEARTEXT communication to not permitted by network security policy How by-pass this block from Android 9 using http Tanks. Nelson. obs: (About https) using this feature type is not an option Click to expand... You can add this line to your Manifest: SetApplicationAttribute(android:usesCleartextTraffic, "true") Upvote 0
nelson costa said: JAVA ERROR :Cannot send data to the server. CLEARTEXT communication to not permitted by network security policy How by-pass this block from Android 9 using http Tanks. Nelson. obs: (About https) using this feature type is not an option Click to expand... You can add this line to your Manifest: SetApplicationAttribute(android:usesCleartextTraffic, "true")
amidgeha Active Member Licensed User Longtime User Aug 7, 2019 #4 nelson costa said: JAVA ERROR :Cannot send data to the server. CLEARTEXT communication to not permitted by network security policy How by-pass this block from Android 9 using http Tanks. Nelson. obs: (About https) using this feature type is not an option Click to expand... In manifest add this line: SetApplicationAttribute(android:usesCleartextTraffic, "true") Upvote 0
nelson costa said: JAVA ERROR :Cannot send data to the server. CLEARTEXT communication to not permitted by network security policy How by-pass this block from Android 9 using http Tanks. Nelson. obs: (About https) using this feature type is not an option Click to expand... In manifest add this line: SetApplicationAttribute(android:usesCleartextTraffic, "true")
Erel B4X founder Staff member Licensed User Longtime User Aug 8, 2019 #5 Moved to the questions forum. Upvote 0