You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ionic Cordova应用在安卓旧设备上无网络连接问题求助

Ionic Android App Stuck on Loading Screen (Android 5/6 Only, No Error Logs)

I have an Ionic app that's been live for over a year, and recently multiple users have reported it gets stuck on the loading screen—this is usually a sign of no network connectivity on the device.

My Current Configurations

I've already set up the necessary configurations in index.html and config.xml, and I haven't modified these settings recently:

index.html

<meta http-equiv="Content-Security-Policy" content="default-src * data: gap: content: https://ssl.gstatic.com ; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' localhost:35729; media-src * content: cdvphotolibrary:; img-src * content: data: blob: cdvphotolibrary:">

config.xml

<access origin="*" /> 
<allow-navigation href="*" /> 
<allow-intent href="*" /> 
<plugin name="cordova-plugin-whitelist" spec="^1.3.3" />

Troubleshooting Done So Far

  • I use Sentry for error logging, but there are no error reports coming in. This suggests either no errors are being thrown, or the app doesn't have network access to send logs.
  • The issue only occurs on Android devices, specifically older Android 5 and 6 versions. One user fixed the problem by upgrading their system.
  • I'm planning to release a new version with improved error handling to pinpoint the issue, but I can't reproduce it on my test devices and can't get direct feedback from affected users, which makes this really challenging.

I'd really appreciate any help or suggestions from the community to figure out what's going on here.

内容的提问来源于stack exchange,提问作者Andreas Gassmann

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.28 07:12:13