Comments (5)
Same problem to me. The example does not log any "Received message".
from react-native-webview-bridge.
This bug is because the "pathForResource" doesn't work here:
Workaround:
copy webview-bridge-script.js into your own project folder in XCode...
from react-native-webview-bridge.
@lucars the native will manage the injection. so it is guarantee to have WebViewBridge
object in global scope. Please try the new version. I have also updated doc with more details.
@gre I have ported the bridge script into objective c code so there won't be any manual work of adding webview-bridge-script.js
as one of bundle.
Please reopen if you have this issue.
from react-native-webview-bridge.
great work! thanks!
from react-native-webview-bridge.
It works. Great job. Thanks!
from react-native-webview-bridge.
Related Issues (20)
- Super expression error.. HOT 2
- RCTWebViewBridge
- Uncaught TypeError: WebViewBridge.onMessage is not a function
- injectedJavaScript not working on android 5.1 and below
- hi in android it can not run HOT 1
- getting warning
- Accessing View Manager Configs Directly is No Longer Supported
- Rendering HTML file HOT 1
- Question about Browser Version
- Use UIManager.getViewManagerConfig('RCTWebViewBridge') HOT 1
- 'React/RCTViewManager.h' file not found HOT 3
- Not working with react-native 0.6 HOT 3
- onBridgeMessage method not working
- Is this repo officially inactive ? HOT 4
- android app crash while run the app HOT 8
- WebView has been removed HOT 3
- Update to WKWebView for iOS
- Release version 0.40.2 HOT 1
- WebView IOS error HOT 2
- Could not find method compile() for arguments [project ':react-native-webview-bridge'] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-webview-bridge.