Coder Social home page Coder Social logo

Comments (5)

gre avatar gre commented on July 30, 2024

Same problem to me. The example does not log any "Received message".

from react-native-webview-bridge.

gre avatar gre commented on July 30, 2024

This bug is because the "pathForResource" doesn't work here:

screen shot 2015-12-07 at 14 58 57

Workaround:

copy webview-bridge-script.js into your own project folder in XCode...

from react-native-webview-bridge.

alinz avatar alinz commented on July 30, 2024

@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.

gre avatar gre commented on July 30, 2024

great work! thanks!

from react-native-webview-bridge.

lucars avatar lucars commented on July 30, 2024

It works. Great job. Thanks!

from react-native-webview-bridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.