Skip to content

Commit 4cac5a9

Browse files
committed
try fixing Platform.OS issue
1 parent 97e78d1 commit 4cac5a9

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

examples/BeaconsDemo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"moment": "^2.17.1",
1212
"react": "16.0.0-alpha.6",
1313
"react-native": "0.43.3",
14-
"react-native-beacons-manager": "https://github.com/MacKentoch/react-native-beacons-manager.git",
14+
"react-native-beacons-manager": "^1.0.5",
1515
"react-native-bluetooth-state": "^2.0.0"
1616
},
1717
"devDependencies": {

examples/BeaconsDemo/yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3303,9 +3303,9 @@ react-devtools-core@^2.0.8:
33033303
cross-env "^3.1.4"
33043304
ws "^2.0.3"
33053305

3306-
"react-native-beacons-manager@https://github.com/MacKentoch/react-native-beacons-manager.git":
3306+
react-native-beacons-manager@^1.0.5:
33073307
version "1.0.5"
3308-
resolved "https://github.com/MacKentoch/react-native-beacons-manager.git#734aa01bd7fb56f195906c1fc423831c81f7cb11"
3308+
resolved "https://registry.yarnpkg.com/react-native-beacons-manager/-/react-native-beacons-manager-1.0.5.tgz#14c5e6de0f1deced30c42d4a3ab3e38fb3cb0516"
33093309

33103310
react-native-bluetooth-state@^2.0.0:
33113311
version "2.0.0"

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
'use strict';
1+
// flow weak
22

3-
import { Platform } from 'react-native';
4-
import RNiBeaconAndroid from './lib/module.android';
5-
import RNiBeaconIOS from './lib/module.ios';
3+
import { Platform } from 'react-native';
4+
import RNiBeaconAndroid from './lib/module.android.js';
5+
import RNiBeaconIOS from './lib/module.ios.js';
66

77
function moduleSelector() {
88
if (Platform.OS === 'android') {

0 commit comments

Comments
 (0)