prestodoctor / react-native-browser Goto Github PK
View Code? Open in Web Editor NEWFull-featured web browser module for React Native apps, based on TOWebViewController
License: MIT License
Full-featured web browser module for React Native apps, based on TOWebViewController
License: MIT License
When opening some unsupported file like '.dwg' or something else, then it is just white, but when I open the same page in safari, then i get a preview with "Open in.." message
Android release compilation fails with this error:
com.facebook.react.common.JavascriptException: Requiring unknown module "react-native-browser"., stack:
n@2:700
o@2:404
e@2:326
i@2:188
<unknown>@673:255
o@2:517
e@2:326
i@2:188
<unknown>@383:403
o@2:517
e@2:326
i@2:188
<unknown>@12:40
o@2:517
e@2:256
i@2:188
global code@824:9
at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:97)
at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:81)
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:318)
at com.facebook.react.cxxbridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:158)
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:234)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
at java.lang.Thread.run(Thread.java:818)
This is because the package.json is set to "main": "index.ios.js",
rather than "main": "index.android.js",
on android
Hi,
Is there any way to open the browser in a non-modal view? For example, I would like to just have the browser be my main view in my react-native app. Is there any way to just do something like:
??
Thanks.
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?
Now that we have updated our app to use native modules (from instructions here), I'm now getting an error building this module.
When I try and build I get 'React/RCTDefines.h' file not found
in RCTBridgeModule.h
.
Is there a workaround for this? It's currently the only dependency we have that isn't working.
Is there any way to move the Done Button
to left rather than right?
I would like to adjust the status bar style while the browser is opened, can you tell me how I could do this or when I could to this through callbacks?
I was wondering if there is any intention of making this cross platform? If not I might try and see what I can do.
When opening pdf-s it doesn't take navigation bar into consideration when rendering file so to see it fully you have to scroll it down a bit.
You mentioned in another issue that you recently updated the TOWebViewController
– I guess I cannot use non HTTPS pages like http://example.com
now but HTTPS pages work fine. I get a white page and I see the URL in the header.
Can you confirm that?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.