I have set a cheap certificate from Digicert on my server but I think it has an intermediate certificate. When testing my application on PhoneGap CLI using
phonegap serve
Ajax call to my server is working. But when the apk is built on PhoneGap, it is stuck on ajax call. How can I check if there is a problem? on Adobe PhoneGap build logs said it is build successfully.
Also, my server application is listening to 4000 port. Anyone can tell me how to fix this?
@keep
to your object classes. see if it solves your problem – FavouriteIOException java.io.IOException: Cleartext HTTP traffic to * not permitted
this exception because Starting with Android 9 (API level 28), cleartext support is disabled by default. – Nikolaus