Skip to content

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

@alex44jzy

Description

@alex44jzy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions