Skip to content

Commit 964d0f9

Browse files
authored
Added some code for Will's AppsFlyer integration. (#767)
1 parent 813c953 commit 964d0f9

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

Branch-TestBed-Swift/TestBed-Swift.xcodeproj/xcshareddata/xcschemes/TestBed-Swift.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0910"
3+
LastUpgradeVersion = "0920"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Branch-TestBed-Swift/TestBed-Swift/AppDelegate.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate, AdjustDelegate, AppsFlyer
183183
if IntegratedSDKsData.activeTuneEnabled()! {
184184
Tune.measureSession()
185185
}
186+
187+
// AppsFlyer
188+
AppsFlyerTracker.shared().trackAppLaunch()
189+
// Your code here...
186190
}
187191

188192
func applicationWillResignActive(_ application: UIApplication) {
@@ -296,6 +300,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate, AdjustDelegate, AppsFlyer
296300

297301
AppsFlyerTracker.shared().appsFlyerDevKey = key
298302
AppsFlyerTracker.shared().appleAppID = "1160975066"
303+
AppsFlyerTracker.shared().delegate = self
304+
AppsFlyerTracker.shared().isDebug = true
299305
}
300306

301307
func activateGoogleAnalytics() {

carthage-files/BranchSDK.xcodeproj/xcshareddata/xcschemes/Branch iOS SDK Carthage.xcscheme

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0910"
4-
version = "1.8">
3+
LastUpgradeVersion = "0920"
4+
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
77
buildImplicitDependencies = "YES">
@@ -37,6 +37,7 @@
3737
buildConfiguration = "Debug"
3838
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
3939
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
40+
language = ""
4041
launchStyle = "0"
4142
useCustomWorkingDirectory = "NO"
4243
ignoresPersistentStateOnLaunch = "NO"

0 commit comments

Comments
 (0)