Skip to content

Commit

Permalink
Update example project to use up-to-date dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
niclas-jetset committed Apr 29, 2019
1 parent 86c2194 commit d724e19
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion example/.babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["react-native"]
"presets": ["module:metro-react-native-babel-preset"]
}
2 changes: 1 addition & 1 deletion example/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
Image
} from "react-native";
import { NordicDFU, DFUEmitter } from "react-native-nordic-dfu";
import RNFetchBlob from "react-native-fetch-blob";
import RNFetchBlob from "rn-fetch-blob";
import BleManager from "react-native-ble-manager";

const BleManagerModule = NativeModules.BleManager;
Expand Down
2 changes: 2 additions & 0 deletions example/ios/NordicDFUExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@
"${BUILT_PRODUCTS_DIR}/iOSDFULibrary/iOSDFULibrary.framework",
"${BUILT_PRODUCTS_DIR}/react-native-ble-manager/react_native_ble_manager.framework",
"${BUILT_PRODUCTS_DIR}/react-native-nordic-dfu/react_native_nordic_dfu.framework",
"${BUILT_PRODUCTS_DIR}/rn-fetch-blob/rn_fetch_blob.framework",
"${BUILT_PRODUCTS_DIR}/yoga/yoga.framework",
);
name = "[CP] Embed Pods Frameworks";
Expand All @@ -219,6 +220,7 @@
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/iOSDFULibrary.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/react_native_ble_manager.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/react_native_nordic_dfu.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/rn_fetch_blob.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/yoga.framework",
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
1 change: 1 addition & 0 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ target "NordicDFUExample" do
]

pod "react-native-ble-manager", path: "../node_modules/react-native-ble-manager"
pod "rn-fetch-blob", path: "../node_modules/rn-fetch-blob"

# replace this path with "../node_modules/react-native-nordic-dfu" or wherever
# it's installed in your project
Expand Down
12 changes: 9 additions & 3 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ PODS:
- React/Core (= 0.59.4)
- react-native-ble-manager (6.6.2):
- React
- react-native-nordic-dfu (2.0.1):
- react-native-nordic-dfu (3.0.0):
- iOSDFULibrary (~> 4.4.0)
- React
- ZIPFoundation (~> 0.9.8)
Expand Down Expand Up @@ -59,6 +59,8 @@ PODS:
- React/Core
- React/fishhook
- React/RCTBlob
- rn-fetch-blob (0.10.6):
- React/Core
- yoga (0.59.4.React)
- ZIPFoundation (0.9.9)

Expand All @@ -75,6 +77,7 @@ DEPENDENCIES:
- React/RCTImage (from `../node_modules/react-native`)
- React/RCTLinkingIOS (from `../node_modules/react-native`)
- React/RCTText (from `../node_modules/react-native`)
- rn-fetch-blob (from `../node_modules/rn-fetch-blob`)
- yoga (from `../node_modules/react-native/ReactCommon/yoga`)

SPEC REPOS:
Expand All @@ -96,6 +99,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-ble-manager"
react-native-nordic-dfu:
:path: "../../"
rn-fetch-blob:
:path: "../node_modules/rn-fetch-blob"
yoga:
:path: "../node_modules/react-native/ReactCommon/yoga"

Expand All @@ -107,10 +112,11 @@ SPEC CHECKSUMS:
iOSDFULibrary: cd43d0c1db731dbc116a67d55ea23d4c39d16c40
React: 5cb71fb1a15b5ce04794ab49e24b48ebe4c94e65
react-native-ble-manager: ea54402df086ead2c234e360b41606f206a2e8b8
react-native-nordic-dfu: db54ecf795eba973fba02c536ed0430fe171d68a
react-native-nordic-dfu: 13c96e0093d89d9a018ac4cffce6c964436756b1
rn-fetch-blob: 766f85cabd2992300dfa1be2bc9e4e258abc6f04
yoga: 596e61c9b57751d08a22b07aba310dbd3e65ab75
ZIPFoundation: 89df685c971926b0323087952320bdfee9f0b6ef

PODFILE CHECKSUM: cff05a95fe53823a3f86037236422320c8d41b6e
PODFILE CHECKSUM: cb820ecf6246ea4ab1fde3a11b0880f6cc0f1108

COCOAPODS: 1.6.1
2 changes: 1 addition & 1 deletion example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3379,7 +3379,7 @@ react-native-ble-manager@6.6.2:
integrity sha512-EJqG26zFEmS8tJ7tDWVAhB60j/5un4kJSLpurv7eE0IuGRd9htSJ5vb/9iGl2D75GsDHgknWjddG6OMGCPcwDg==

"react-native-nordic-dfu@file:..":
version "2.0.1"
version "3.0.0"

react-native@0.59.4:
version "0.59.4"
Expand Down

0 comments on commit d724e19

Please sign in to comment.