Search code examples
ionic-frameworkhttpsandroid-security

No requests are being made from Google Play Store deployed app


I have made an app in Ionic and published it in closed beta in Google Play Store. Https requests work very well when testing it with "ionic serve" or "ionic run android" but no request is being done if I install the app from Google Play Store. What can be the problem?

Update: also, requests are being done when I install on the phone the debug apk. After signing it and zipaligning it, it no longer works


Solution

  • While it is allowed in debug mode to make untrusted https requests via "ionic run" or "ionic serve" commands, once the app is upload to Google Play Store those requests don't succeed by default. A trusted certificate is needed in the backend.