From 0ee4b01ce66875499b6d73a07433a03015a8bfe9 Mon Sep 17 00:00:00 2001 From: morisgateno-appsflyer Date: Wed, 1 May 2024 11:48:37 +0300 Subject: [PATCH] Revert "Merge pull request #137 from AppsFlyerSDK/releases/6.x.x/6.14.x/6.14.3-rc2" This reverts commit db7d1f824a3aec9f5033fab5f2d8e0c05b09eb4d, reversing changes made to 33fdcc88aa6eba639f47e5683ebb63a9bfbe4643. --- Package.resolved | 8 ++++---- Package.swift | 2 +- README.md | 8 +++----- RELEASENOTES.md | 4 ---- .../ObjcPodsSample.xcodeproj/project.pbxproj | 18 ------------------ examples/ObjcPodsSample/Podfile | 3 +-- examples/SwiftPodsSample/Podfile | 2 +- .../SwiftPodsSample.xcodeproj/project.pbxproj | 18 ------------------ releasenotes.6.14.3 | 0 segment-appsflyer-ios.podspec | 4 ++-- .../Classes/SEGAppsFlyerIntegration.m | 6 ++---- 11 files changed, 14 insertions(+), 59 deletions(-) delete mode 100644 releasenotes.6.14.3 diff --git a/Package.resolved b/Package.resolved index a2b49c2..88f6aba 100644 --- a/Package.resolved +++ b/Package.resolved @@ -6,8 +6,8 @@ "repositoryURL": "https://github.com/segmentio/analytics-ios.git", "state": { "branch": null, - "revision": "78423aaae2e48e32a07246850f37c76f3d34cb84", - "version": "4.1.8" + "revision": "187faa897c826fe0954124da116db3318242f7c3", + "version": "4.1.4" } }, { @@ -15,8 +15,8 @@ "repositoryURL": "https://github.com/AppsFlyerSDK/AppsFlyerFramework.git", "state": { "branch": null, - "revision": "e248ac38ac97ab6926e500ace97e220d10df7d41", - "version": "6.14.3" + "revision": "7a3cd712a77b30e487e53102b101c5e9ff96a95e", + "version": "6.9.1" } } ] diff --git a/Package.swift b/Package.swift index 93605ce..32ba14d 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.14.3")), + .package(name: "AppsFlyerLib" , url: "https://github.com/AppsFlyerSDK/AppsFlyerFramework.git", .exact("6.13.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 3bcc36a..8cae40b 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,7 @@ # AppsFlyer integration for Segment. - -## This is a Segment wrapper for AppsFlyer SDK that is built with iOS SDK v6.14.3. - +## This is a Segment wrapper for AppsFlyer SDK that is built with iOS SDK v6.13.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) @@ -51,12 +49,12 @@ To install the segment-appsflyer-ios integration: **Production** version: ```ruby -pod 'segment-appsflyer-ios', '6.14.3' +pod 'segment-appsflyer-ios', '6.13.1' ``` **Strict mode SDK** version: ```ruby -pod 'segment-appsflyer-ios/Strict', '6.14.3' +pod 'segment-appsflyer-ios/Strict', '6.13.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/RELEASENOTES.md b/RELEASENOTES.md index 93f3ea0..5db6b4b 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -1,7 +1,3 @@ -### 6.14.3 -* Update to Appsflyer SDK 6.14.3. -* Added Privacy Manifest - ### 6.13.1 * Update to Appsflyer SDK 6.13.1. diff --git a/examples/ObjcPodsSample/ObjcPodsSample.xcodeproj/project.pbxproj b/examples/ObjcPodsSample/ObjcPodsSample.xcodeproj/project.pbxproj index 588c1df..5bd9b8c 100644 --- a/examples/ObjcPodsSample/ObjcPodsSample.xcodeproj/project.pbxproj +++ b/examples/ObjcPodsSample/ObjcPodsSample.xcodeproj/project.pbxproj @@ -116,7 +116,6 @@ 9D3846B524E4312900F767E4 /* Frameworks */, 9D3846B624E4312900F767E4 /* Resources */, 7205A6CD90D4EDB49FD64543 /* [CP] Embed Pods Frameworks */, - 8E25661C2274255B639A8214 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -189,23 +188,6 @@ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ObjcPodsSample/Pods-ObjcPodsSample-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - 8E25661C2274255B639A8214 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-ObjcPodsSample/Pods-ObjcPodsSample-resources-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Copy Pods Resources"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-ObjcPodsSample/Pods-ObjcPodsSample-resources-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ObjcPodsSample/Pods-ObjcPodsSample-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; DE322D6CAA7CF6E7584193F8 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; diff --git a/examples/ObjcPodsSample/Podfile b/examples/ObjcPodsSample/Podfile index e881998..da27729 100644 --- a/examples/ObjcPodsSample/Podfile +++ b/examples/ObjcPodsSample/Podfile @@ -6,6 +6,5 @@ target 'ObjcPodsSample' do use_frameworks! # Pods for ObjcPodsSample - pod 'segment-appsflyer-ios',:podspec => '../../segment-appsflyer-ios.podspec' - + pod 'segment-appsflyer-ios','6.13.1' end diff --git a/examples/SwiftPodsSample/Podfile b/examples/SwiftPodsSample/Podfile index 02ac177..6eb7ee5 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',:podspec => '../../segment-appsflyer-ios.podspec' + pod 'segment-appsflyer-ios','6.13.1' end diff --git a/examples/SwiftPodsSample/SwiftPodsSample.xcodeproj/project.pbxproj b/examples/SwiftPodsSample/SwiftPodsSample.xcodeproj/project.pbxproj index fff7f83..541e9e5 100644 --- a/examples/SwiftPodsSample/SwiftPodsSample.xcodeproj/project.pbxproj +++ b/examples/SwiftPodsSample/SwiftPodsSample.xcodeproj/project.pbxproj @@ -105,7 +105,6 @@ 9D29F71824E4081F007A929A /* Frameworks */, 9D29F71924E4081F007A929A /* Resources */, F6332A18B9239844E271B4AD /* [CP] Embed Pods Frameworks */, - DEDAA782D8D7CCEFDF680EF0 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -184,23 +183,6 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - DEDAA782D8D7CCEFDF680EF0 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SwiftPodsSample/Pods-SwiftPodsSample-resources-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Copy Pods Resources"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SwiftPodsSample/Pods-SwiftPodsSample-resources-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SwiftPodsSample/Pods-SwiftPodsSample-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; F6332A18B9239844E271B4AD /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; diff --git a/releasenotes.6.14.3 b/releasenotes.6.14.3 deleted file mode 100644 index e69de29..0000000 diff --git a/segment-appsflyer-ios.podspec b/segment-appsflyer-ios.podspec index 7a710b5..7751479 100644 --- a/segment-appsflyer-ios.podspec +++ b/segment-appsflyer-ios.podspec @@ -1,5 +1,5 @@ -version_appsflyerLib = '6.14.3' -version_plugin = '6.14.3' +version_appsflyerLib = '6.13.1' +version_plugin = '6.13.1' Pod::Spec.new do |s| s.name = "segment-appsflyer-ios" diff --git a/segment-appsflyer-ios/Classes/SEGAppsFlyerIntegration.m b/segment-appsflyer-ios/Classes/SEGAppsFlyerIntegration.m index 6858c20..9913e78 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.14.3" + pluginVersion:@"6.13.1" additionalParams:nil]; [self.appsflyer setAppsFlyerDevKey:afDevKey]; [self.appsflyer setAppleAppID:appleAppId]; @@ -93,9 +93,7 @@ - (instancetype)initWithSettings:(NSDictionary *)settings withAppsflyer:(AppsFly self.appsflyer = aAppsflyer; [self.appsflyer setPluginInfoWith:AFSDKPluginSegment - - pluginVersion:@"6.14.3" - + pluginVersion:@"6.13.1" additionalParams:nil]; NSString *afDevKey = [self.settings objectForKey:@"appsFlyerDevKey"];