Skip to content

Commit 3028ccc

Browse files
Use correct version of React Native and Iterable SDK.
1 parent 7eb05a2 commit 3028ccc

File tree

3 files changed

+167
-101
lines changed

3 files changed

+167
-101
lines changed

integration-testing/ios/Podfile

Lines changed: 12 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,17 @@
1-
ENV['SWIFT_VERSION'] = '5'
2-
platform :ios, '10.0'
31
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
2+
require_relative '../node_modules/react-native/scripts/react_native_pods'
43

5-
target 'example' do
6-
# Pods for SampleApp
7-
pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
8-
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
9-
pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
10-
pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
11-
pod 'React', :path => '../node_modules/react-native/'
12-
pod 'React-Core', :path => '../node_modules/react-native/'
13-
pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
14-
pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
15-
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
16-
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
17-
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
18-
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
19-
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
20-
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
21-
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
22-
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
23-
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
24-
pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'
25-
26-
pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
27-
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
28-
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
29-
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
30-
pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"
31-
pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
32-
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
33-
34-
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
35-
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
36-
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
4+
platform :ios, '10.0'
375

38-
use_native_modules!
6+
target 'example' do
7+
config = use_native_modules!
8+
use_react_native!(:path => config["reactNativePath"])
399
end
4010

11+
post_install do |installer|
12+
installer.pods_project.targets.each do |target|
13+
target.build_configurations.each do |config|
14+
config.build_settings['ENABLE_TESTABILITY'] = 'YES'
15+
end
16+
end
17+
end

integration-testing/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"e2e:android-release": "npm run build:android-release && npm run test:android-release"
1111
},
1212
"dependencies": {
13-
"@iterable/react-native-sdk": "^1.0.15",
13+
"@iterable/react-native-sdk": "^1.0.18",
1414
"@react-native-community/masked-view": "^0.1.10",
1515
"@react-navigation/bottom-tabs": "^5.4.5",
1616
"@react-navigation/native": "^5.4.0",
1717
"@react-navigation/stack": "^5.3.7",
1818
"react": "^16.13.1",
19-
"react-native": "^0.62.2",
19+
"react-native": "^0.63",
2020
"react-native-elements": "^1.2.7",
2121
"react-native-gesture-handler": "^1.6.1",
2222
"react-native-ionicons": "^5.0.0-rc",

0 commit comments

Comments
 (0)