PrestoDoctor / react-native-browser

Full-featured web browser module for React Native apps, based on TOWebViewController
MIT License
134 stars 25 forks source link

Browser.presentUrl is undefined #14

Open melalj opened 7 years ago

melalj commented 7 years ago

I couldn't make it work with:

I always get this error message when I trigger any basic Browser.open('http://www.wikipedia.com/');

undefined is not an object (evaluating 'Browser.presentUrl')

Any help would be appreciated.

@mfkp : Is this project still maintained?

townmulti commented 7 years ago

@melalj Did you resolve this? Or maybe you found a different solution?

melalj commented 7 years ago

No luck 😞 Just using the native module Linking at the moment.

hle50 commented 7 years ago

I have the same issue, it woks on ios but not on android

mfkp commented 7 years ago

Hey guys, sorry for slow reply. This project was initially only built for iOS, so it does not have a native module for Android. I don't have a lot of time to do research on an equivalent module for Android, but I think it shouldn't be too hard to just open up a Chrome webview inside the app. If anyone wants to do some research on how that works, I'm open to adding collaborators and/or merging a pull request to implement that!

ghost commented 6 years ago

I am having the same issue on iOS, also I don't see the file libRTCBrowser.a from the docs. Thanks a lot