问题描述
我的Ionic应用程序出现问题。在启动屏幕之后,用户无法点击任何按钮,也完全无法与该应用进行交互。它要么停滞不前,要么根本没有响应。
对于这些设备,这种情况始终存在,因此它们永远无法注册。
这是我的ionic info
:
Ionic CLI : 5.2.3 (C:\Users\Simon K\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.11.10
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.0.0
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0,browser 6.0.0,ios 5.0.1
Cordova Plugins : cordova-plugin-ionic 5.4.4,cordova-plugin-ionic-keyboard 2.1.3,cordova-plugin-ionic-webview 4.1.1,(and 14 other plugins)
这是旧设备上的用户报告的。最近在三星S5上。我不确定这是由于旧手机只是冻结了我们的应用程序,还是某种网络设置?在哪里阻止Ionic做出响应。
我的配置设置:
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<allow-navigation href="*" />
<preference name="ScrollEnabled" value="false" />
<preference name="android-minSdkVersion" value="19" />
<preference name="android-targetSdkVersion" value="29" />
<preference name="BackupWebStorage" value="none" />
<preference name="SplashMaintainAspectRatio" value="true" />
<preference name="FadeSplashScreenDuration" value="300" />
<preference name="SplashShowOnlyFirstTime" value="false" />
<preference name="ShowSplashScreenSpinner" value="false" />
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="3000" />
<preference name="AndroidLaunchMode" value="singleTask" />
如果我能提供其他有用的信息,请告诉我。由于无法复制该问题,我对如何解决此问题感到困惑。
这可能是离子问题吗?
解决方法
在收到此问题的设备上运行应用程序,使用chrome:// inspect
查看日志