When i am using URL with http then it shows an error "CLEARTEXT communication to (domain name) not permitted by network security policy" . I have tried cleartextTrafficPermitted = true in manifest.xml file but it is not compatible with payment gateway i use, which need cleartextTrafficPermitted = false. As it is API level 23 so, networkSecurityConfig = "@xml/network_security_config" doesn't work in it. I am using Retrofit as networking Library.
It is device specific issue Xiomi Redmi 3S, MIUI Global 10.2, Android version 6.0.1.
Any suggestion about this issue.