Closed skourt closed 2 years ago
Hey mate, what was the solution for you?
The issue was that I was trying it on an emulator without Chrome. It worked when testing on an Android device.
I'm probably going to try to get Chrome on my emulator at some point but it's a whole other set of issues :/
Oh I understand, that's why I always use an Android Device 😅
I am attempting to use the InAppBrowser, but regardless of whatever fixes I try to find online, it will not open on Android because the isAvailable() function returns false. This is happening even after adding the following to AndroidManifest.xml:
`
`
I also tried adding the following to no avail:
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
Likewise, I tried to use both
supportLibVersion = "28.0.0"
andandroidXAnnotation = "1.2.0" androidXBrowser = "1.3.0"
but neither one of these worked. Not sure what I am missing in my Android setup but it's working perfectly well on iOS.My React Native version is 0.66.4 and react-native-inappbrowser-reborn version is 3.6.3.
Any help would be greatly appreciated. Thanks!