Skip to content

Commit

Permalink
Merge pull request #87 from AppsFlyerSDK/releases/6.x.x/6.8.x/6.8.1
Browse files Browse the repository at this point in the history
Releases/6.x.x/6.8.x/6.8.1
  • Loading branch information
af-margot committed Aug 17, 2022
2 parents 2949233 + 6992ad1 commit 56d8e5f
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
binary "https://raw.githubusercontent.com/AppsFlyerSDK/AppsFlyerFramework/master/Carthage/appsflyer-ios.json" "6.8.0"
binary "https://raw.githubusercontent.com/AppsFlyerSDK/AppsFlyerFramework/master/Carthage/appsflyer-ios.json" "6.8.1"
github "segmentio/analytics-ios" "4.1.6"
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"repositoryURL": "https://github.com/AppsFlyerSDK/AppsFlyerFramework.git",
"state": {
"branch": null,
"revision": "3c77b7ec3ad5991868837c5ac8085882310a4cd0",
"version": "6.8.0"
"revision": "d1349c8fdd18a80a776298e4c5c3526e22feff78",
"version": "6.8.1"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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", from: "6.8.0"),
.package(name: "AppsFlyerLib" , url: "https://github.com/AppsFlyerSDK/AppsFlyerFramework.git", from: "6.8.1"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
Expand Down
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# AppsFlyer integration for Segment.

## This is a Segment wrapper for AppsFlyer SDK that is built with iOS SDK v6.8.0.
## This is a Segment wrapper for AppsFlyer SDK that is built with iOS SDK v6.8.1.

[![Version](https://img.shields.io/cocoapods/v/segment-appsflyer-ios.svg?style=flat)](http://cocoapods.org/pods/segment-appsflyer-ios)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
Expand Down Expand Up @@ -48,12 +48,12 @@ To install the segment-appsflyer-ios integration:

**Production** version:
```ruby
pod 'segment-appsflyer-ios', '6.8.0'
pod 'segment-appsflyer-ios', '6.8.1'
```

**Strict mode SDK** version:
```ruby
pod 'segment-appsflyer-ios/Strict', '6.8.0'
pod 'segment-appsflyer-ios/Strict', '6.8.1'
```
Use the strict mode SDK to completely remove IDFA collection functionality and AdSupport framework dependencies (for example, when developing apps for kids).

Expand All @@ -65,7 +65,7 @@ Use the strict mode SDK to completely remove IDFA collection functionality and A

**Production** version:
```ogdl
github "AppsFlyerSDK/segment-appsflyer-ios" "6.8.0"
github "AppsFlyerSDK/segment-appsflyer-ios" "6.8.1"
```


Expand All @@ -74,7 +74,7 @@ github "AppsFlyerSDK/segment-appsflyer-ios" "6.8.0"
In XCode, go to **File** > **Swift Package** > **Add Package dependency...** And add https://github.com/AppsFlyerSDK/segment-appsflyer-ios for the package dependency url.

## <a id="manual"> Manual mode
By default, when using the appsflyer-segment wrapper, AppsFlyer SDK starts automatically when initializing Segment with AppsFlyer factory. In order to give the developer more freedom, we added a manual mode in version `6.8.0`. When using this manual mode, the developer is responsible to start AppsFlyer SDK. To use the manual mode, you need to create the SEGAppsFlyerIntegrationFactory with a manual mode.
Starting version `6.8.0`, we support a manual mode to seperate the initialization of the AppsFlyer SDK and the start of the SDK. In this case, the AppsFlyer SDK won't start automatically, giving the developper more freedom when to start the AppsFlyer SDK. Please note that in manual mode, the developper is required to implement the API ``AppsFlyerLib.shared().start()`` in order to start the SDK.
### Example:
```objective-c
[SEGAppsFlyerIntegrationFactory createWithManualMode:YES];
Expand All @@ -84,8 +84,6 @@ To start the AppsFlyer SDK, use the `start()` API, like the following :
```objective-c
[[AppsFlyerLib shared] start];
```

Starting version `6.8.0`, we support a manual mode to seperate the initialization of the AppsFlyer SDK and the start of the SDK. In this case, the AppsFlyer SDK won't start automatically, giving the developper more freedom when to start the AppsFlyer SDK. Please note that in manual mode, the developper is required to implement the API ``AppsFlyerLib.shared().start()`` in order to start the SDK.

## <a id="usage"> Usage

Expand Down
2 changes: 1 addition & 1 deletion examples/ObjcPodsSample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ target 'ObjcPodsSample' do
use_frameworks!

# Pods for ObjcPodsSample
pod 'segment-appsflyer-ios', '~> 6.8.0'
pod 'segment-appsflyer-ios', '~> 6.8.1'
end
2 changes: 1 addition & 1 deletion examples/SwiftPodsSample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ target 'SwiftPodsSample' do
use_frameworks!

# Pods for SwiftPodsSample
pod 'segment-appsflyer-ios', '~> 6.8.0'
pod 'segment-appsflyer-ios', '~> 6.8.1'

end
10 changes: 5 additions & 5 deletions segment-appsflyer-ios.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "segment-appsflyer-ios"
s.version = "6.8.0"
s.version = "6.8.1"
s.summary = "AppsFlyer Integration for Segment's analytics-ios library."

s.description = <<-DESC
Expand All @@ -22,14 +22,14 @@ Pod::Spec.new do |s|

s.default_subspecs = 'Main'
s.subspec 'Main' do |ss|
ss.ios.dependency 'AppsFlyerFramework','~> 6.8.0'
ss.tvos.dependency 'AppsFlyerFramework', '~> 6.8.0'
ss.ios.dependency 'AppsFlyerFramework','~> 6.8.1'
ss.tvos.dependency 'AppsFlyerFramework', '~> 6.8.1'
ss.source_files = 'segment-appsflyer-ios/Classes/**/*'
end

s.subspec 'Strict' do |ss|
ss.ios.dependency 'AppsFlyerFramework/Strict', '~> 6.8.0'
ss.tvos.dependency 'AppsFlyerFramework/Strict', '~> 6.8.0'
ss.ios.dependency 'AppsFlyerFramework/Strict', '~> 6.8.1'
ss.tvos.dependency 'AppsFlyerFramework/Strict', '~> 6.8.1'
ss.source_files = 'segment-appsflyer-ios/Classes/**/*'
end
end

0 comments on commit 56d8e5f

Please sign in to comment.