Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current version not support RN 0.28 #111

Open
someok opened this issue Jun 28, 2016 · 12 comments
Open

Current version not support RN 0.28 #111

someok opened this issue Jun 28, 2016 · 12 comments

Comments

@someok
Copy link

someok commented Jun 28, 2016

import should change to:

var React = require('react');
var {PropTypes} = React;
var {
    ActivityIndicatorIOS,
    EdgeInsetsPropType,
    StyleSheet,
    Text,
    View,
    WebView,
    requireNativeComponent,
    UIManager,
    NativeModules: {
        WebViewBridgeManager
    },
    findNodeHandle
} = require('react-native');
@saulshanabrook
Copy link
Contributor

Anyone know of a fork that supports 0.28?

@ippy04
Copy link

ippy04 commented Jul 14, 2016

I'm using this line in my package.json to work with 0.29

"react-native-webview-bridge": "alinz/react-native-webview-bridge#d06e80dae2c09006"

@saulshanabrook
Copy link
Contributor

@ippy04 Do you have that working with android?

@ippy04
Copy link

ippy04 commented Jul 14, 2016

My project is iOS only unfortunately...

@saulshanabrook
Copy link
Contributor

Ah ok, I can't get it to work with 0.29 and android.

@alinz
Copy link
Owner

alinz commented Jul 14, 2016

@saulshanabrook android api for import and exporting a native module has been changed significantly. Going to release 29 soon!

@saulshanabrook
Copy link
Contributor

@alinz Great news! Thank you so much for all your hard work. I almost have window.crypto working on top of this library.

@MacKentoch
Copy link

@alinz any news on the upcoming update?

I guess some PR would be also nice in the next version to support latest React Native versions.

If you need help tell us. You bridge is so helpful.

@saulshanabrook
Copy link
Contributor

FYI I got the Web Cryptography API working using this library https://github.com/saulshanabrook/react-native-webview-crypto

@pcrouillere
Copy link

Hello, i have the same error with RN 0.31 :( Any idea why ?

Thanks a lot !

@alinz
Copy link
Owner

alinz commented Oct 6, 2016

@pcrouillere please use the master branch instead.

@pcrouillere
Copy link

@alinz I did, thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants