【发布时间】:2020-11-12 20:44:41
【问题描述】:
我的 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 上的应用并显示控制台以便我们为您提供帮助
标签: ionic-framework ionic3 ionic4