Roberto P. Well-Known Member Licensed User Longtime User Jun 25, 2019 #1 Hi my application, which has always worked properly, with Android 9 generates error with web sockets. see later. has anyone had the same problem? WebSocket Closed....: java.net.UnknownServiceException: CLEARTEXT communication to 178.236.163.142 not permitted by network security policy thank in advance
Hi my application, which has always worked properly, with Android 9 generates error with web sockets. see later. has anyone had the same problem? WebSocket Closed....: java.net.UnknownServiceException: CLEARTEXT communication to 178.236.163.142 not permitted by network security policy thank in advance
DonManfred Expert Licensed User Longtime User Jun 25, 2019 #2 https://www.b4x.com/android/forum/pages/results/?query=UnknownServiceException:+CLEARTEXT Add this to you manifest B4X: SetApplicationAttribute(android:usesCleartextTraffic,"true") Upvote 0
https://www.b4x.com/android/forum/pages/results/?query=UnknownServiceException:+CLEARTEXT Add this to you manifest B4X: SetApplicationAttribute(android:usesCleartextTraffic,"true")
Roberto P. Well-Known Member Licensed User Longtime User Jun 25, 2019 #3 DonManfred said: https://www.b4x.com/android/forum/pages/results/?query=UnknownServiceException:+CLEARTEXT Add this to you manifest B4X: SetApplicationAttribute(android:usesCleartextTraffic,"true") Click to expand... I will try your solution thank you Upvote 0
DonManfred said: https://www.b4x.com/android/forum/pages/results/?query=UnknownServiceException:+CLEARTEXT Add this to you manifest B4X: SetApplicationAttribute(android:usesCleartextTraffic,"true") Click to expand... I will try your solution thank you