Output application crashes when `orientation !== 'default'` and device is Android 8.0 / API Level 26 / Oreo or lower
See original GitHub issueDescribe the bug After running bubblewrap build TWA is generated but app will not run after apk install on android device or AVD emulator. apk installs fine but app will not start: “APP_NAME keeps stopping, Close app”
To Reproduce Steps to reproduce the behavior:
- bubblewrap init --manifest https://my-twa.com/manifest.json
- bubblewrap build
- “Generated Android APK at ./app-release-signed.apg”
- “Generated Android app Bundle at ./app-release-bundle.aab”
- “Overall result: PASS”
- Copy apk to android device
- Install apk (success)
- Start APP (fail)
Expected behavior App running on android device
Screenshots PWA Lighthouse test: Bubblewrap doctor: Bubblewrap build: App failed to start:
Desktop (please complete the following information):
- Windows 10 Enterprise
- Chrome 89.0.4389.114 (64-bit)
Smartphone (please complete the following information):
- Device: Xperia ZX
- OS: Oreo 8.0
- Browser: Chrome 89.0.4389.105
Bubblewrap version: 1.11.1
Additional context
config.json:
{"jdkPath":"C:\\Users\\MY_USER\\.bubblewrap\\jdk\\jdk8u282-b08","androidSdkPath":"C:\\Users\\MY_USER\\AppData\\Local\\Android\\Sdk"}
bubblewrap doctor: Your jdkpath and androidSdkPath are valid.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Top GitHub Comments
In the directory with the project generated by Bubblewrap, you will see a
twa-manifest.json
file. Also feel free to DM details via on Twitter (@andreban), so you don’t share publicly.twa-manifest.json
will be fine withdefault
. To use the same value on both the Web Manifest andtwa-manifest
, you can just useany
.