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

[Android] The problem of react-native-auto-updater.js cannot find #52

Open
alex44jzy opened this issue Oct 14, 2016 · 0 comments
Open

Comments

@alex44jzy
Copy link

I can run the Example project, but when i add react-native-auto-updater import into my project and modify according to the README.md, it crash before enter the application. My React native version is 0.33.0.
I tried to debug in the react-native-auto-updater.js in the node_modules folder, it shows Can't find variable: ReactNativeAutoUpdater

/**
 * Created by Rahul Jiresal on 01/22/16.
 */

'use strict';

var React = require('react-native');
var RNAUNative = React.NativeModules.ReactNativeAutoUpdater;
console.log(React.NativeModules)
type Props = {
  isVisible: boolean;
}

module.exports = {
  jsCodeVersion: function() {
    return RNAUNative.jsCodeVersion;
  }
};

Is it the react or react native version problem?

Look forward to your answers.

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

1 participant