framework7
framework7 copied to clipboard
App is showing white screen on a freshly created capacitor app using framework7 cli
- 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
- Create a new framework7 core app with capacitor.
- Add android platform to capacitor,
npx cap add android
- Sync the changes to capacitor using,
npx cap sync android
- Build a debug apk for testing using following command:-
npx cap copy android && cd android && ./gradlew assembleDebug && cd ..
- 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.
same
In capacitor.config.json, try to add
"server": { "hostname": "127.0.0.1" },