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.
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
Is it the react or react native version problem?
Look forward to your answers.