Skip to content

Commit

Permalink
Update to latest assurance extension
Browse files Browse the repository at this point in the history
  • Loading branch information
praveek committed Jul 2, 2021
1 parent c6df6d9 commit 26608bd
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 52 deletions.
7 changes: 3 additions & 4 deletions Samples/MediaSampleApp/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import UIKit
import AEPCore
import AEPIdentity
import AEPAnalytics
import ACPCore
import AEPAssurance
import AEPLifecycle
import AEPMedia
Expand All @@ -28,16 +27,16 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
MobileCore.setLogLevel(.trace)
let appState = application.applicationState

MobileCore.registerExtensions([Identity.self, Analytics.self, Lifecycle.self, Media.self, AEPAssurance.self], {
MobileCore.registerExtensions([Identity.self, Analytics.self, Lifecycle.self, Media.self, Assurance.self], {
// Use the App id assigned to this application via Adobe Launch
MobileCore.configureWith(appId: self.LAUNCH_ENVIRONMENT_FILE_ID)

if appState != .background {
// only start lifecycle if the application is not in the background
MobileCore.lifecycleStart(additionalContextData: ["contextDataKey": "contextDataVal"])
}
})

return true
}

Expand Down
2 changes: 1 addition & 1 deletion Samples/MediaSampleApp/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class ViewController: UIViewController {

@IBAction func startAssuranceSession (_ sender: Any) {
if let url = URL(string: assuranceUrl.text ?? "") {
AEPAssurance.startSession(url)
Assurance.startSession(url: url)
}
}

Expand Down
4 changes: 2 additions & 2 deletions build/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ target 'MediaSampleApp' do
pod 'AEPLifecycle'
pod 'AEPIdentity'
pod 'AEPAnalytics'
pod 'AEPAssurance'
pod 'ACPCore', :git => 'https://github.com/adobe/aepsdk-compatibility-ios.git', :branch => 'main'
pod 'AEPAssurance', '~> 3.0.0'

end

65 changes: 20 additions & 45 deletions build/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,35 +1,23 @@
PODS:
- ACPCore (2.9.9):
- AEPCore
- AEPIdentity
- AEPLifecycle
- AEPRulesEngine
- AEPServices
- AEPSignal
- AEPAnalytics (3.0.1):
- AEPCore
- AEPServices
- AEPAssurance (1.1.1):
- ACPCore (>= 2.9.0)
- AEPAssurance/xcframeworks (= 1.1.1)
- AEPAssurance/xcframeworks (1.1.1):
- ACPCore (>= 2.9.0)
- AEPCore (3.1.1):
- AEPRulesEngine (= 1.0.0)
- AEPServices (= 3.1.1)
- AEPIdentity (3.1.1):
- AEPCore (= 3.1.1)
- AEPLifecycle (3.1.1):
- AEPCore (= 3.1.1)
- AEPRulesEngine (1.0.0)
- AEPServices (3.1.1)
- AEPSignal (3.1.1):
- AEPCore (= 3.1.1)
- AEPAssurance (3.0.0):
- AEPCore (>= 3.1.0)
- AEPServices (>= 3.1.0)
- AEPCore (3.2.2):
- AEPRulesEngine (= 1.0.1)
- AEPServices (= 3.2.2)
- AEPIdentity (3.2.2):
- AEPCore (= 3.2.2)
- AEPLifecycle (3.2.2):
- AEPCore (= 3.2.2)
- AEPRulesEngine (1.0.1)
- AEPServices (3.2.2)

DEPENDENCIES:
- ACPCore (from `https://github.com/adobe/aepsdk-compatibility-ios.git`, branch `main`)
- AEPAnalytics
- AEPAssurance
- AEPAssurance (~> 3.0.0)
- AEPCore
- AEPIdentity
- AEPLifecycle
Expand All @@ -45,29 +33,16 @@ SPEC REPOS:
- AEPLifecycle
- AEPRulesEngine
- AEPServices
- AEPSignal

EXTERNAL SOURCES:
ACPCore:
:branch: main
:git: https://github.com/adobe/aepsdk-compatibility-ios.git

CHECKOUT OPTIONS:
ACPCore:
:commit: c43675de0c97ee76fd51b005e8c9cdc7515e4a78
:git: https://github.com/adobe/aepsdk-compatibility-ios.git

SPEC CHECKSUMS:
ACPCore: 67e4b855bf16cfb6a63024a4ddb73d15c0fd30e5
AEPAnalytics: 13353b3ea333be0af7cfc4845830d87d360726e2
AEPAssurance: b62fc1be16efbc8d137b945b29da7e5ec7c7965a
AEPCore: 46ed4c5ed27ba49490990e397bb7454cf9906601
AEPIdentity: 017d2ee5e49dd7a7cd29761339c535924e89d968
AEPLifecycle: 580d11bb4262e7b154751540852a2ff9febbde0d
AEPRulesEngine: 8bbc694fce6900cd33b2496c7d4b33ee2eeffc46
AEPServices: bdd8a78f1d6cda0165f6a58e42cce0d7e9f43ae1
AEPSignal: 4259aed43857c9e0ae89590a682c6d12865b7ce3
AEPAssurance: 18068627111e366a851dc2166239f22b665101bd
AEPCore: 1f15da7f4c843b8aa61c54486b7c5b85378187af
AEPIdentity: bdc78eb093c20d259bb3b7d79d7e0b75f30cff2e
AEPLifecycle: 54602c05131fd479b292cad24a62ab9f92509908
AEPRulesEngine: 5075ed294026a12e37bd26fe260f74604d205354
AEPServices: 8072b031649fea7ffd971e4e185f271dee3707fc

PODFILE CHECKSUM: da0318295238c7efa33722077bb5fa707c3b9aee
PODFILE CHECKSUM: c17233643dae6e168ff2ba356eca8e199206854e

COCOAPODS: 1.10.1

0 comments on commit 26608bd

Please sign in to comment.