Skip to content

Commit

Permalink
fix CI errors and bump android version to 7.3.0 and ios version to 4.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
zihejia committed Mar 6, 2023
1 parent 0c47657 commit 850c4c7
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 11 deletions.
4 changes: 2 additions & 2 deletions MixpanelReactNative.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Pod::Spec.new do |s|
s.license = package['license']
s.author = { 'Mixpanel, Inc' => '[email protected]' }
s.homepage = package['homepage']
s.platform = :ios, "9.0"
s.platform = :ios, "11.0"
s.swift_version = '5.0'
s.source = { :git => "https://github.com/mixpanel/mixpanel-react-native.git", :tag => s.version }
s.source_files = "ios/*.{swift,h,m}"
Expand All @@ -19,5 +19,5 @@ Pod::Spec.new do |s|
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }

s.dependency "React-Core"
s.dependency "Mixpanel-swift", '4.0.2'
s.dependency "Mixpanel-swift", '4.0.5'
end
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@
CURRENT_PROJECT_VERSION = 1;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = ContextAPIMixpanel/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -520,6 +521,7 @@
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1;
INFOPLIST_FILE = ContextAPIMixpanel/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
2 changes: 1 addition & 1 deletion Samples/ContextAPIMixpanel/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '10.0'
platform :ios, '11.0'

target 'ContextAPIMixpanel' do
config = use_native_modules!
Expand Down
2 changes: 1 addition & 1 deletion Samples/ContextAPIMixpanel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"mixpanel-react-native": "file:../..",
"react": "17.0.1",
"react-native": "0.64.2"
"react-native": "0.64.4"
},
"devDependencies": {
"@babel/core": "^7.14.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,7 @@
CURRENT_PROJECT_VERSION = 1;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = MixpanelDemo/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = (
"$(inherited)",
Expand All @@ -688,6 +689,7 @@
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1;
INFOPLIST_FILE = MixpanelDemo/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = (
"$(inherited)",
Expand Down
2 changes: 1 addition & 1 deletion Samples/MixpanelDemo/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '10.0'
platform :ios, '11.0'

target 'MixpanelDemo' do
config = use_native_modules!
Expand Down
2 changes: 1 addition & 1 deletion Samples/MixpanelDemo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"mixpanel-react-native": "file:../..",
"react": "17.0.1",
"react-native": "0.64.1",
"react-native": "0.64.4",
"react-native-gesture-handler": "^1.8.0",
"react-native-interactable": "^2.0.1",
"react-native-ionicons": "^4.6.5",
Expand Down
2 changes: 1 addition & 1 deletion Samples/SimpleMixpanel/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '10.0'
platform :ios, '11.0'

target 'SimpleMixpanel' do
config = use_native_modules!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@
"$(inherited)",
);
INFOPLIST_FILE = SimpleMixpanelTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -468,7 +468,7 @@
BUNDLE_LOADER = "$(TEST_HOST)";
COPY_PHASE_STRIP = NO;
INFOPLIST_FILE = SimpleMixpanelTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -494,6 +494,7 @@
CURRENT_PROJECT_VERSION = 1;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = SimpleMixpanel/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -520,6 +521,7 @@
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1;
INFOPLIST_FILE = SimpleMixpanel/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
2 changes: 1 addition & 1 deletion Samples/SimpleMixpanel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"mixpanel-react-native": "file:../..",
"react": "17.0.1",
"react-native": "0.64.2"
"react-native": "0.64.4"
},
"devDependencies": {
"@babel/core": "^7.14.8",
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ repositories {

dependencies {
implementation 'com.facebook.react:react-native:+'
implementation 'com.mixpanel.android:mixpanel-android:7.0.1'
implementation 'com.mixpanel.android:mixpanel-android:7.3.0'
}

0 comments on commit 850c4c7

Please sign in to comment.