proyecto26 / react-native-inappbrowser

📱InAppBrowser for React Native (Android & iOS) 🤘
https://www.npmjs.com/package/react-native-inappbrowser-reborn
MIT License
1.31k stars 223 forks source link

[Error: InAppBrowser not available] #337

Closed LeoAsher25 closed 2 years ago

LeoAsher25 commented 2 years ago

I'm using InAppBrowser to authenticate with KeyCloak and I get a issue when I call keycloak.login(). When I using physical device (Oppo realme c15, Android 11), there's no problem here, but when I run in emulator Pixel 5 API 30 (Androud 11 Google APIs), there is a error: InAppBrowser not available. (like below image). I would appreciate any suggestions. image

Here is some config file following instructions: 1) android/app/src/main/AndroidManifrest.xml image 2) android/build.gradle image 3) android/app/src/main/.../MainApplication.java image 4) android/setting.gradle image 5) android/app/build.gradle image

MBedy commented 1 year ago

Hello @LeoAsher25, did you solve this problem ? I have the same problem.

LeoAsher25 commented 1 year ago

I still haven't solved that problem yet, I'm using physical device now.

Vào Th 5, 21 thg 4, 2022 vào lúc 16:25 smourey @.***> đã viết:

Hi @LeoAsher25 https://github.com/LeoAsher25 , we have the exact same issue in one of our apps. Have you found a solution to this? Thank you

— Reply to this email directly, view it on GitHub https://github.com/proyecto26/react-native-inappbrowser/issues/337#issuecomment-1104943179, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATJ5PRPCBFCQ6NAJKK2TT4DVGENHHANCNFSM5R365IZQ . You are receiving this because you were mentioned.Message ID: @.***>

MBedy commented 1 year ago

i solved the issue, it is because the emulator needs google play. (English is not my first language)

Le mar. 11 oct. 2022 à 10:39, Leo Asher @.***> a écrit :

I still haven't solved that problem yet, I'm using physical device now.

Vào Th 5, 21 thg 4, 2022 vào lúc 16:25 smourey @.***> đã viết:

Hi @LeoAsher25 https://github.com/LeoAsher25 , we have the exact same issue in one of our apps. Have you found a solution to this? Thank you

— Reply to this email directly, view it on GitHub < https://github.com/proyecto26/react-native-inappbrowser/issues/337#issuecomment-1104943179 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ATJ5PRPCBFCQ6NAJKK2TT4DVGENHHANCNFSM5R365IZQ

. You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/proyecto26/react-native-inappbrowser/issues/337#issuecomment-1274318328, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADKQJDNKGV2YQ4JDLE3LKATWCURUXANCNFSM5R365IZQ . You are receiving this because you commented.Message ID: @.***>

MBedy commented 1 year ago

https://stackoverflow.com/questions/38593738/is-google-play-store-supported-in-avd-emulators, Look at the Easiest way.

edcalderon commented 1 year ago

thanks! @MBedy that solve same problem here

edcalderon commented 1 year ago

@LeoAsher25 can u share how do you configure the keycloack client i'm getting and internal error seams like is bad configured image