I have extra simple app that consists of one page.
Everything works ok on Web or Android.
When I just install InAppBrowser and try to run it on Android - app opens and instantly closes (real device or emulator - no diff) - even if I’m not use that code and imports for real.
So I do next steps:
- Installed capacitor/inappbrowser
- build/copy/sync
- up minSdkVersion to 26 (requirements)
- run app
npm install @capacitor/inappbrowser
npx cap sync
That’s all, build is successful but app not opened anymore.
If I remove inappbrowser depency and make sync & run - all works fine again.
How to find out what’s wrong with that?
P.S.
Gradle vars
minSdkVersion = 26
compileSdkVersion = 34
targetSdkVersion = 34
JDK: openjdk-17
Tested devices: Android 11 (sdk 30)
Capacitor: 6.1.2
1 post - 1 participant