framework7io / framework7

Full featured HTML framework for building iOS & Android apps
http://framework7.io
MIT License
18.08k stars 3.23k forks source link

App is showing white screen on a freshly created capacitor app using framework7 cli #4188

Open GAGANsinghmsitece opened 1 year ago

GAGANsinghmsitece commented 1 year ago

Describe the bug

When i create a new project with framework7 core with capacitor and deploy it to android, i'm seeing white screen instead of app content.

To Reproduce

  1. Create a new framework7 core app with capacitor.
  2. Add android platform to capacitor,
    npx cap add android
  3. Sync the changes to capacitor using,
    npx cap sync android
  4. Build a debug apk for testing using following command:-
npx cap copy android && cd android && ./gradlew assembleDebug && cd ..
  1. It will create a debug apk at test3/android/app/build/outputs/apk/debug. Install this app on android device/emulator. It shows white screen instead of app content.

Expected behavior

App content should be visible.

Actual Behavior

White screen is visible.

loremru commented 1 year ago

same

svgaman commented 11 months ago

In capacitor.config.json, try to add "server": { "hostname": "127.0.0.1" },