diff --git a/.github/bash_scripts/pre_release.sh b/.github/bash_scripts/pre_release.sh index deba034..8d9281b 100644 --- a/.github/bash_scripts/pre_release.sh +++ b/.github/bash_scripts/pre_release.sh @@ -12,4 +12,6 @@ sed -r -i '' "s/(.*pod \'segment-appsflyer-ios\')(.*\'[0-9]+\.[0-9]+\.[0-9]+\')/ sed -r -i '' "s/(## This is a Segment wrapper for AppsFlyer SDK that is built with iOS SDK v)(.*)/\1$appsflyerLibVersion./g" README.md sed -r -i '' "s/(.*pod \'segment-appsflyer-ios.*)([0-9]+\.[0-9]+\.[0-9]+)(.*)/\1$appsflyerLibVersion\3/g" README.md +sed -r -i '' "s/(.*pluginVersion.*)([0-9]+\.[0-9]+\.[0-9]+)(.*)/\1$appsflyerLibVersion\3/g" segment-appsflyer-ios/Classes/SEGAppsFlyerIntegration.m + touch "releasenotes.$appsflyerLibVersion" diff --git a/Package.swift b/Package.swift index 75192e2..2605031 100644 --- a/Package.swift +++ b/Package.swift @@ -17,7 +17,7 @@ let package = Package( dependencies: [ // Dependencies declare other packages that this package depends on. .package(name: "Segment", url: "https://github.com/segmentio/analytics-ios.git" , from: "4.0.0"), - .package(name: "AppsFlyerLib" , url: "https://github.com/AppsFlyerSDK/AppsFlyerFramework.git", .exact("6.10.1")), + .package(name: "AppsFlyerLib" , url: "https://github.com/AppsFlyerSDK/AppsFlyerFramework.git", .exact("6.12.1")), ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. diff --git a/README.md b/README.md index 1166f54..8220029 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # AppsFlyer integration for Segment. -## This is a Segment wrapper for AppsFlyer SDK that is built with iOS SDK v6.10.1. +## This is a Segment wrapper for AppsFlyer SDK that is built with iOS SDK v6.12.1. [![Version](https://img.shields.io/badge/cocoapods-compatible-brightgreen?logo=cocoapods&logoColor=green&style=flat)](http://cocoapods.org/pods/segment-appsflyer-ios) [![Carthage compatible](https://img.shields.io/badge/Carthage-not_compatible-C20000.svg?style=flat)](https://github.com/Carthage/Carthage) @@ -48,12 +48,12 @@ To install the segment-appsflyer-ios integration: **Production** version: ```ruby -pod 'segment-appsflyer-ios', '6.10.1' +pod 'segment-appsflyer-ios', '6.12.1' ``` **Strict mode SDK** version: ```ruby -pod 'segment-appsflyer-ios/Strict', '6.10.1' +pod 'segment-appsflyer-ios/Strict', '6.12.1' ``` Use the strict mode SDK to completely remove IDFA collection functionality and AdSupport framework dependencies (for example, when developing apps for kids). diff --git a/examples/ObjcPodsSample/Podfile b/examples/ObjcPodsSample/Podfile index 4810398..f8e23c8 100644 --- a/examples/ObjcPodsSample/Podfile +++ b/examples/ObjcPodsSample/Podfile @@ -6,5 +6,5 @@ target 'ObjcPodsSample' do use_frameworks! # Pods for ObjcPodsSample - pod 'segment-appsflyer-ios','6.10.1' + pod 'segment-appsflyer-ios',:podspec => '../../segment-appsflyer-ios.podspec' end diff --git a/examples/SwiftPodsSample/Podfile b/examples/SwiftPodsSample/Podfile index fb7d709..02ac177 100644 --- a/examples/SwiftPodsSample/Podfile +++ b/examples/SwiftPodsSample/Podfile @@ -6,6 +6,6 @@ target 'SwiftPodsSample' do use_frameworks! # Pods for SwiftPodsSample - pod 'segment-appsflyer-ios','6.10.1' + pod 'segment-appsflyer-ios',:podspec => '../../segment-appsflyer-ios.podspec' end diff --git a/releasenotes.6.12.1 b/releasenotes.6.12.1 new file mode 100644 index 0000000..de7311d --- /dev/null +++ b/releasenotes.6.12.1 @@ -0,0 +1 @@ +* Update to Appsflyer SDK 6.12.1. \ No newline at end of file diff --git a/segment-appsflyer-ios.podspec b/segment-appsflyer-ios.podspec index 5205322..00e8f81 100644 --- a/segment-appsflyer-ios.podspec +++ b/segment-appsflyer-ios.podspec @@ -1,4 +1,4 @@ -version_appsflyerLib = '6.10.1' +version_appsflyerLib = '6.12.1' version_plugin = '6.10.1' Pod::Spec.new do |s| diff --git a/segment-appsflyer-ios/Classes/SEGAppsFlyerIntegration.m b/segment-appsflyer-ios/Classes/SEGAppsFlyerIntegration.m index c6eea05..4fe6777 100644 --- a/segment-appsflyer-ios/Classes/SEGAppsFlyerIntegration.m +++ b/segment-appsflyer-ios/Classes/SEGAppsFlyerIntegration.m @@ -35,7 +35,7 @@ - (instancetype)initWithSettings:(NSDictionary *)settings withAnalytics:(SEGAnal self.appsflyer = [self appsflyerLib]; [self.appsflyer setPluginInfoWith:AFSDKPluginSegment - pluginVersion:@"6.10.1" + pluginVersion:@"6.12.1" additionalParams:nil]; [self.appsflyer setAppsFlyerDevKey:afDevKey]; [self.appsflyer setAppleAppID:appleAppId]; @@ -93,7 +93,7 @@ - (instancetype)initWithSettings:(NSDictionary *)settings withAppsflyer:(AppsFly self.appsflyer = aAppsflyer; [self.appsflyer setPluginInfoWith:AFSDKPluginSegment - pluginVersion:@"6.10.1" + pluginVersion:@"6.12.1" additionalParams:nil]; NSString *afDevKey = [self.settings objectForKey:@"appsFlyerDevKey"];