Unable to connect to backend over “https” on android app created through ionic CLI.
It works perfectly fine on browser, on debug mode on android phone. Just doesn’t work in release mode. It even works over ‘http’ but not on ‘https’.
And my SSL certificate is not self-signed. It is properly bought certificate and all SSL checkers say it is fine.
Tried all the solutions I could find on internet.
- Installed whitelist-plugin.
- Re-installed whitelist-plugin.
- Added Content-security-policy with “*” for default-src.
- Added
<allow-intent href="*" /> <allow-navigation href="*" />
Nothing seems working. Please help.