8

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?

SSL Checker result

M D P
  • 4,525
  • 2
  • 23
  • 35
JMA
  • 974
  • 3
  • 13
  • 41
  • would you please edit to share your server public address? I'm assuming that's the same address you have in your app. – Fabio Jul 07 '20 at 00:26
  • have you tested both with debug build and release build? – M D P Jul 09 '20 at 07:34
  • @Fabio, how it is same address in my app? my app is built on phonegap. – JMA Jul 09 '20 at 11:29
  • @MDP, I tried it on phonegap cli and it is working. But when I build it on adobe phonegap, it is not working. If I build it on adobe phonegap with lower API and android version, it is working. – JMA Jul 09 '20 at 11:30
  • I think it's related to minify feature of proguard. add annotation `@keep` to your object classes. see if it solves your problem – M D P Jul 09 '20 at 23:07
  • @M D P, can you provide where is the object classes? – JMA Jul 12 '20 at 14:54
  • @JMA can you check android log cat and tell if you are getting `IOException 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. – Arpan Sarkar Jul 21 '20 at 05:33
  • @arpan can you provide path for the log? – JMA Jul 21 '20 at 08:57
  • @JMA you can use logcat of the Android Studio or you can use the command-line tool https://developer.android.com/studio/command-line/logcat – Arpan Sarkar Jul 21 '20 at 17:55

0 Answers0