Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71530

@capacitor/inappbrowser crashes app on android

$
0
0

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:

  1. Installed capacitor/inappbrowser
  2. build/copy/sync
  3. up minSdkVersion to 26 (requirements)
  4. 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

Read full topic


Viewing all articles
Browse latest Browse all 71530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>