Commit 7bc1bd56 authored by Martin Lundberg's avatar Martin Lundberg

Avoid destructuring to support Node.js

parent b137f32e
......@@ -2,7 +2,7 @@
* @providesModule react-native-device-info
*/
var { RNDeviceInfo } = require('react-native').NativeModules;
var RNDeviceInfo = require('react-native').NativeModules.RNDeviceInfo;
module.exports = {
getUniqueID: function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment