framework7 icon indicating copy to clipboard operation
framework7 copied to clipboard

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

Open GAGANsinghmsitece opened this issue 2 years ago • 2 comments

  • Framework7 version: 8.0.4
  • Platform and Target: [Capacitor Android Api 31]
  • Live Link or CodeSandbox: Sandbox Url

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
  1. Sync the changes to capacitor using,
npx cap sync android
  1. 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.

GAGANsinghmsitece avatar Jun 03 '23 05:06 GAGANsinghmsitece

same

loremru avatar Sep 15 '23 11:09 loremru

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

svgaman avatar Oct 15 '23 16:10 svgaman