Skip to content

Added Comscore Destination #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
965DC1262671656C00DDF9C7 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 965DC1252671656C00DDF9C7 /* GoogleService-Info.plist */; };
9697C1F52679156C00B87EC1 /* Segment_Logo_Avatar_Grey-1024.png in Resources */ = {isa = PBXBuildFile; fileRef = 9697C1F42679156C00B87EC1 /* Segment_Logo_Avatar_Grey-1024.png */; };
96D8F16F26EFFA09007F8B28 /* ExampleDestination.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96D8F16E26EFFA09007F8B28 /* ExampleDestination.swift */; };
96DBF37D26FA943300724B0B /* ComscoreDestination.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96DBF37C26FA943300724B0B /* ComscoreDestination.swift */; };
96DBF38026FA984A00724B0B /* ComScore in Frameworks */ = {isa = PBXBuildFile; productRef = 96DBF37F26FA984A00724B0B /* ComScore */; };
BA384C9826824F3700AFEA1B /* AppsFlyerLib in Frameworks */ = {isa = PBXBuildFile; productRef = BA384C9726824F3700AFEA1B /* AppsFlyerLib */; };
BA384C9A2682973300AFEA1B /* AppsFlyerDestination.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA384C992682973300AFEA1B /* AppsFlyerDestination.swift */; };
/* End PBXBuildFile section */
Expand All @@ -50,6 +52,7 @@
965DC1252671656C00DDF9C7 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
9697C1F42679156C00B87EC1 /* Segment_Logo_Avatar_Grey-1024.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Segment_Logo_Avatar_Grey-1024.png"; sourceTree = "<group>"; };
96D8F16E26EFFA09007F8B28 /* ExampleDestination.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ExampleDestination.swift; sourceTree = "<group>"; };
96DBF37C26FA943300724B0B /* ComscoreDestination.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ComscoreDestination.swift; sourceTree = "<group>"; };
BA384C992682973300AFEA1B /* AppsFlyerDestination.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppsFlyerDestination.swift; sourceTree = "<group>"; };
BA384C9D2686609000AFEA1B /* DestinationsExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DestinationsExample.entitlements; sourceTree = "<group>"; };
/* End PBXFileReference section */
Expand All @@ -62,6 +65,7 @@
BA384C9826824F3700AFEA1B /* AppsFlyerLib in Frameworks */,
469EC8E0266828860068F9E3 /* FlurryAnalyticsSPM in Frameworks */,
469EC8D0266066130068F9E3 /* SystemConfiguration.framework in Frameworks */,
96DBF38026FA984A00724B0B /* ComScore in Frameworks */,
965DC1212669942800DDF9C7 /* FirebaseAnalytics in Frameworks */,
469F7B1D266011D70038E773 /* Segment in Frameworks */,
965DC0FE2668079400DDF9C7 /* Mixpanel in Frameworks */,
Expand Down Expand Up @@ -121,6 +125,7 @@
BA384C992682973300AFEA1B /* AppsFlyerDestination.swift */,
469F7B24266013320038E773 /* AdjustDestination.swift */,
965DC0F92668077400DDF9C7 /* AmplitudeSession.swift */,
96DBF37C26FA943300724B0B /* ComscoreDestination.swift */,
96D8F16E26EFFA09007F8B28 /* ExampleDestination.swift */,
965DC1222669947F00DDF9C7 /* FirebaseDestination.swift */,
469F7B1F266012CB0038E773 /* FlurryDestination.swift */,
Expand Down Expand Up @@ -162,6 +167,7 @@
469EC8DF266828860068F9E3 /* FlurryAnalyticsSPM */,
965DC1202669942800DDF9C7 /* FirebaseAnalytics */,
BA384C9726824F3700AFEA1B /* AppsFlyerLib */,
96DBF37F26FA984A00724B0B /* ComScore */,
);
productName = DestinationsExample;
productReference = 469F7B04266011690038E773 /* DestinationsExample.app */;
Expand Down Expand Up @@ -196,6 +202,7 @@
469EC8DE266828860068F9E3 /* XCRemoteSwiftPackageReference "FlurrySwiftPackage" */,
965DC11F2669942800DDF9C7 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */,
BA384C9626824F3700AFEA1B /* XCRemoteSwiftPackageReference "AppsFlyerFramework" */,
96DBF37E26FA984900724B0B /* XCRemoteSwiftPackageReference "Comscore-Swift-Package-Manager" */,
);
productRefGroup = 469F7B05266011690038E773 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -231,6 +238,7 @@
469F7B0C266011690038E773 /* ViewController.swift in Sources */,
96D8F16F26EFFA09007F8B28 /* ExampleDestination.swift in Sources */,
965DC0FA2668077400DDF9C7 /* MixpanelDestination.swift in Sources */,
96DBF37D26FA943300724B0B /* ComscoreDestination.swift in Sources */,
965DC0FB2668077400DDF9C7 /* AmplitudeSession.swift in Sources */,
469F7B08266011690038E773 /* AppDelegate.swift in Sources */,
469F7B25266013320038E773 /* AdjustDestination.swift in Sources */,
Expand Down Expand Up @@ -479,6 +487,14 @@
version = 8.1.0;
};
};
96DBF37E26FA984900724B0B /* XCRemoteSwiftPackageReference "Comscore-Swift-Package-Manager" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "[email protected]:comScore/Comscore-Swift-Package-Manager.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 6.0.0;
};
};
BA384C9626824F3700AFEA1B /* XCRemoteSwiftPackageReference "AppsFlyerFramework" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/AppsFlyerSDK/AppsFlyerFramework";
Expand Down Expand Up @@ -514,6 +530,11 @@
package = 965DC11F2669942800DDF9C7 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */;
productName = FirebaseAnalytics;
};
96DBF37F26FA984A00724B0B /* ComScore */ = {
isa = XCSwiftPackageProductDependency;
package = 96DBF37E26FA984900724B0B /* XCRemoteSwiftPackageReference "Comscore-Swift-Package-Manager" */;
productName = ComScore;
};
BA384C9726824F3700AFEA1B /* AppsFlyerLib */ = {
isa = XCSwiftPackageProductDependency;
package = BA384C9626824F3700AFEA1B /* XCRemoteSwiftPackageReference "AppsFlyerFramework" */;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
// Add the Firebase destination plugin
analytics?.add(plugin: FirebaseDestination())

//Add the AppsFlyer destination plugin
// Add the AppsFlyer destination plugin
analytics?.add(plugin: AppsFlyerDestination())

// Add the Comscore destination plugin
analytics?.add(plugin: ComscoreDestination())

return true
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,15 @@ extension ViewController {
captureView.alpha = 0.0

let nextKeyField = UITextField()
nextKeyField.autocorrectionType = .no
nextKeyField.autocapitalizationType = .none
nextKeyField.placeholder = "Key..."
nextKeyField.borderStyle = .roundedRect
keysFields.append(nextKeyField)

let nextField = UITextField()
nextField.autocorrectionType = .no
nextField.autocapitalizationType = .none
nextField.placeholder = "Value..."
nextField.borderStyle = .roundedRect
propertiesFields.append(nextField)
Expand Down
Loading