Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

集成插件,打包生产环境,启动后白屏,测试环境没问题 #444

Open
Sian-Hx opened this issue May 20, 2022 · 0 comments
Open

Comments

@Sian-Hx
Copy link

Sian-Hx commented May 20, 2022

WARNING: 如果不按照这个表格,我们将无法帮助你,并将忽略你的问题。

你的运行环境

  • 插件版本:
  • 平台(Android / iOS):Android 和 iOS
  • Cordova version (cordova -v):11.0.0
  • Cordova platform version (cordova platform ls):
  • Installed platforms:
    android 10.1.2
    Available platforms:
    browser ^6.0.0
    electron ^3.0.0
    windows ^7.0.0
  • Ionic Version (if using Ionic):6.19.1

期望效果

生产环境的包启动页显示完后进入主页面

实际效果

生产环境的包启动页显示完后白屏

重现步骤

  1. ionic cordova run android -l --device #正常
  2. ionic cordova build android --prod --release #启动页后白屏

背景

仅仅引入插件就会导致白屏

Debug logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant