Skip to content

Commit ab18f09

Browse files
committed
all: update batch to 1.21
1 parent 493e046 commit ab18f09

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

RNBatchPush.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ Pod::Spec.new do |s|
77
s.authors = {
88
"Batch.com" => "[email protected]"
99
}
10-
s.platform = :ios, "10.0"
10+
s.platform = :ios, "12.0"
1111
s.source = { :git => "[email protected]:BatchLabs/Batch-React-Native-Plugin.git", :tag => "master" }
1212
s.source_files = "ios/*.{h,m}"
1313
s.requires_arc = true
1414

1515
s.dependency "React"
16-
s.dependency 'Batch', '~> 1.20.0'
16+
s.dependency 'Batch', '~> 1.21.0'
1717
end

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ def DEFAULT_MIN_SDK_VERSION = 16
22
def DEFAULT_COMPILE_SDK_VERSION = 33
33
def DEFAULT_BUILD_TOOLS_VERSION = "33.0.0"
44
def DEFAULT_TARGET_SDK_VERSION = 33
5-
def DEFAULT_BATCH_SDK_VERSION = "1.20.+"
5+
def DEFAULT_BATCH_SDK_VERSION = "1.21.+"
66

77
def safeExtGet(prop, fallback) {
88
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback

ios/RNBatch.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#if __has_include("React/RCTBridgeModule.h")
1+
#if __has_include(<React/RCTBridgeModule.h>)
22
#import <React/RCTBridgeModule.h>
33
#else
44
#import "RCTBridgeModule.h"
55
#endif
66

7-
#if __has_include("React/RCTEventEmitter.h")
7+
#if __has_include(<React/RCTEventEmitter.h>)
88
#import <React/RCTEventEmitter.h>
99
#else
1010
#import "RCTEventEmitter.h"

ios/RNBatchPush.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
162162
GCC_WARN_UNUSED_FUNCTION = YES;
163163
GCC_WARN_UNUSED_VARIABLE = YES;
164-
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
164+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
165165
MTL_ENABLE_DEBUG_INFO = YES;
166166
ONLY_ACTIVE_ARCH = YES;
167167
SDKROOT = iphoneos;
@@ -198,7 +198,7 @@
198198
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
199199
GCC_WARN_UNUSED_FUNCTION = YES;
200200
GCC_WARN_UNUSED_VARIABLE = YES;
201-
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
201+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
202202
MTL_ENABLE_DEBUG_INFO = NO;
203203
SDKROOT = iphoneos;
204204
VALIDATE_PRODUCT = YES;

0 commit comments

Comments
 (0)