[英]Issue with ionic android signed apk build
I am facing an issue with ionic android signed apk.我正面临离子 android 签名 apk 的问题。 My code is working absolutely fine on app-debug.apk but it isn't showing data for app-release.apk.我的代码在 app-debug.apk 上运行得非常好,但它没有显示 app-release.apk 的数据。 Release apk is getting installed properly but it isn't showing data.发布 apk 已正确安装,但未显示数据。 I suspected that it could be an issue of ssl certificate on APIs.我怀疑这可能是 API 上的 ssl 证书的问题。 I bought ssl and put, however issue still persist.我买了 ssl 并放了,但问题仍然存在。 Any lead would be appreciated.任何线索将不胜感激。 Thanks in Advance提前致谢
Add this line into config.xml just after <platform name="android">
line.Hope it will work将此行添加到config.xml之后<platform name="android">
行。希望它会工作
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:usesCleartextTraffic="true" />
</edit-config>
if your API data is not being shown kindly check your url it must be https if it is http://example.org then data will not be shown on mobile device or emulator change it to https://example.org if your API data is not being shown kindly check your url it must be https if it is http://example.org then data will not be shown on mobile device or emulator change it to https://example.org
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.