From 769fca27813694bf4fb9f6a373ba2fbfcd6d4789 Mon Sep 17 00:00:00 2001 From: Daniel Cestari Date: Tue, 17 Nov 2015 18:47:32 +0200 Subject: [PATCH] Fix error with react-native 0.14.2 --- Tracking.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tracking.js b/Tracking.js index 28b952b..041847e 100644 --- a/Tracking.js +++ b/Tracking.js @@ -1,6 +1,5 @@ var React = require('react-native'); -var AdSupportIOS = require('AdSupportIOS'); -var Dimensions = require('Dimensions'); +var { AdSupportIOS, Dimensions } = React; module.exports = { getAdvertisingId(cb) {