Skip to content

Commit e4eb491

Browse files
author
Evan Greer
committed
Revert "adds deployment target script to podfile and typscript sample app update"
This reverts commit 2d51aa6.
1 parent 0bbd0f8 commit e4eb491

File tree

7 files changed

+16
-43
lines changed

7 files changed

+16
-43
lines changed

SampleApp/typescript/babel.config.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
module.exports = {
2-
presets: [['module:metro-react-native-babel-preset', {
3-
unstable_disableES6Transforms: true
4-
}]],
2+
presets: ['module:metro-react-native-babel-preset'],
53
};

SampleApp/typescript/ios/Podfile

+1-16
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
22
require_relative '../node_modules/react-native/scripts/react_native_pods'
33

4-
platform :ios, '12.0'
4+
platform :ios, '10.0'
55

66
target 'SampleApp' do
77
config = use_native_modules!
@@ -11,18 +11,3 @@ end
1111
target 'Rich Notification Extension' do
1212
pod 'Iterable-iOS-AppExtensions'
1313
end
14-
15-
deployment_target = '12.0'
16-
17-
post_install do |installer|
18-
installer.generated_projects.each do |project|
19-
project.targets.each do |target|
20-
target.build_configurations.each do |config|
21-
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = deployment_target
22-
end
23-
end
24-
project.build_configurations.each do |config|
25-
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = deployment_target
26-
end
27-
end
28-
end

SampleApp/typescript/ios/SampleApp.xcodeproj/project.pbxproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@
453453
DEAD_CODE_STRIPPING = NO;
454454
DEVELOPMENT_TEAM = BP98Z28R86;
455455
INFOPLIST_FILE = "$(SRCROOT)/SampleApp/Info.plist";
456-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
456+
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
457457
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
458458
OTHER_LDFLAGS = (
459459
"$(inherited)",
@@ -480,7 +480,7 @@
480480
CURRENT_PROJECT_VERSION = 1;
481481
DEVELOPMENT_TEAM = BP98Z28R86;
482482
INFOPLIST_FILE = "$(SRCROOT)/SampleApp/Info.plist";
483-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
483+
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
484484
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
485485
OTHER_LDFLAGS = (
486486
"$(inherited)",
@@ -610,7 +610,7 @@
610610
DEVELOPMENT_TEAM = BP98Z28R86;
611611
GCC_C_LANGUAGE_STANDARD = gnu11;
612612
INFOPLIST_FILE = "Rich Notification Extension/Info.plist";
613-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
613+
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
614614
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
615615
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
616616
MTL_FAST_MATH = YES;
@@ -640,7 +640,7 @@
640640
DEVELOPMENT_TEAM = BP98Z28R86;
641641
GCC_C_LANGUAGE_STANDARD = gnu11;
642642
INFOPLIST_FILE = "Rich Notification Extension/Info.plist";
643-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
643+
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
644644
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
645645
MTL_FAST_MATH = YES;
646646
PRODUCT_BUNDLE_IDENTIFIER = "com.iterable.ts.SampleApp.Rich-Notification-Extension";

SampleApp/typescript/ios/SampleApp.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

-8
This file was deleted.

SampleApp/typescript/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@types/react-native": "^0.62.10",
3737
"@types/react-native-vector-icons": "^6.4.5",
3838
"eslint": "^6.8.0",
39-
"metro-react-native-babel-preset": "^0.59.0",
39+
"metro-react-native-babel-preset": "^0.58.0",
4040
"react-test-renderer": "16.9.0"
4141
}
4242
}
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const iterableAPIKey = "INSERT_YOUR_API_KEY_HERE"

SampleApp/typescript/yarn.lock

+8-11
Original file line numberDiff line numberDiff line change
@@ -760,10 +760,10 @@
760760
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45"
761761
integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==
762762

763-
"@iterable/react-native-sdk@^1.3.19":
764-
version "1.3.19"
765-
resolved "https://registry.yarnpkg.com/@iterable/react-native-sdk/-/react-native-sdk-1.3.19.tgz#1dbf4754f9a4281ba29a655d7e857ff0786c092a"
766-
integrity sha512-jnxSnGNrW9qMZ6JZ2GGx5KSc7pvQno66OvZF9O6uUDXtp9H3QgtCwoR+G9oTwEH/PoLA7P5/7lwNK3fQsJQ8wg==
763+
"@iterable/react-native-sdk@^1.3.11":
764+
version "1.3.12"
765+
resolved "https://registry.yarnpkg.com/@iterable/react-native-sdk/-/react-native-sdk-1.3.12.tgz#e0f3176f45aeacd096a02aeca50f916c39b25ef7"
766+
integrity sha512-Cn5xxuQ2+Cretm29hGYrq0zyMhXThaY0yvqRQRvSxDMrOaUGGwHbBnegvuswyDnwVUPHcPh004LuWcgFpZOsRg==
767767
dependencies:
768768
"@react-native-community/hooks" "^2.6.0"
769769
"@react-navigation/native" "^6.0.6"
@@ -4026,10 +4026,10 @@ [email protected]:
40264026
"@babel/template" "^7.0.0"
40274027
react-refresh "^0.4.0"
40284028

4029-
metro-react-native-babel-preset@^0.59.0:
4030-
version "0.59.0"
4031-
resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.59.0.tgz#20e020bc6ac9849e1477de1333d303ed42aba225"
4032-
integrity sha512-BoO6ncPfceIDReIH8pQ5tQptcGo5yRWQXJGVXfANbiKLq4tfgdZB1C1e2rMUJ6iypmeJU9dzl+EhPmIFKtgREg==
4029+
metro-react-native-babel-preset@^0.58.0:
4030+
version "0.58.0"
4031+
resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.58.0.tgz#18f48d33fe124280ffabc000ab8b42c488d762a2"
4032+
integrity sha512-MRriNW+fF6jxABsgPphocUY6mIhmCm8idcrQZ58fT3Iti2vCdtkaK32TyCGUNUptzhUe2/cbE57j4aC+eaodAA==
40334033
dependencies:
40344034
"@babel/plugin-proposal-class-properties" "^7.0.0"
40354035
"@babel/plugin-proposal-export-default-from" "^7.0.0"
@@ -4040,8 +4040,6 @@ metro-react-native-babel-preset@^0.59.0:
40404040
"@babel/plugin-syntax-dynamic-import" "^7.0.0"
40414041
"@babel/plugin-syntax-export-default-from" "^7.0.0"
40424042
"@babel/plugin-syntax-flow" "^7.2.0"
4043-
"@babel/plugin-syntax-nullish-coalescing-operator" "^7.0.0"
4044-
"@babel/plugin-syntax-optional-chaining" "^7.0.0"
40454043
"@babel/plugin-transform-arrow-functions" "^7.0.0"
40464044
"@babel/plugin-transform-block-scoping" "^7.0.0"
40474045
"@babel/plugin-transform-classes" "^7.0.0"
@@ -4057,7 +4055,6 @@ metro-react-native-babel-preset@^0.59.0:
40574055
"@babel/plugin-transform-parameters" "^7.0.0"
40584056
"@babel/plugin-transform-react-display-name" "^7.0.0"
40594057
"@babel/plugin-transform-react-jsx" "^7.0.0"
4060-
"@babel/plugin-transform-react-jsx-self" "^7.0.0"
40614058
"@babel/plugin-transform-react-jsx-source" "^7.0.0"
40624059
"@babel/plugin-transform-regenerator" "^7.0.0"
40634060
"@babel/plugin-transform-runtime" "^7.0.0"

0 commit comments

Comments
 (0)