diff --git a/Examples/apps/BasicExample/BasicExample.xcodeproj/project.pbxproj b/Examples/apps/BasicExample/BasicExample.xcodeproj/project.pbxproj index 55ecde72..760b2c6e 100644 --- a/Examples/apps/BasicExample/BasicExample.xcodeproj/project.pbxproj +++ b/Examples/apps/BasicExample/BasicExample.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 54; + objectVersion = 60; objects = { /* Begin PBXBuildFile section */ @@ -133,6 +133,7 @@ mainGroup = 46E38358265837EA00BA2502; packageReferences = ( 46E383782658387D00BA2502 /* XCRemoteSwiftPackageReference "Sovran-Swift" */, + 7BE804C72CB59AE70062B64E /* XCLocalSwiftPackageReference "../../../../analytics-swift" */, ); productRefGroup = 46E38362265837EA00BA2502 /* Products */; projectDirPath = ""; @@ -373,6 +374,13 @@ }; /* End XCConfigurationList section */ +/* Begin XCLocalSwiftPackageReference section */ + 7BE804C72CB59AE70062B64E /* XCLocalSwiftPackageReference "../../../../analytics-swift" */ = { + isa = XCLocalSwiftPackageReference; + relativePath = "../../../../analytics-swift"; + }; +/* End XCLocalSwiftPackageReference section */ + /* Begin XCRemoteSwiftPackageReference section */ 46E383782658387D00BA2502 /* XCRemoteSwiftPackageReference "Sovran-Swift" */ = { isa = XCRemoteSwiftPackageReference; diff --git a/Examples/apps/BasicExample/BasicExample/AppDelegate.swift b/Examples/apps/BasicExample/BasicExample/AppDelegate.swift index e34f8114..45afd0d6 100644 --- a/Examples/apps/BasicExample/BasicExample/AppDelegate.swift +++ b/Examples/apps/BasicExample/BasicExample/AppDelegate.swift @@ -16,11 +16,15 @@ class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. - let configuration = Configuration(writeKey: "") + let configuration = Configuration(writeKey: "eHitWfSPZKoXF8c6iVb6QRlIPA6P9X8G") .trackApplicationLifecycleEvents(true) .flushInterval(10) .flushAt(2) + Telemetry.shared.flushTimer = 5 * 1000 + Telemetry.shared.enable = true +// Telemetry.shared.sendErrorLogData = true +// Telemetry.shared.host = "webhook.site/8d339731-c5a7-45b5-9b82-d545b6e48e6c" analytics = Analytics(configuration: configuration) return true diff --git a/Examples/apps/DestinationsExample/DestinationsExample.xcworkspace/contents.xcworkspacedata b/Examples/apps/DestinationsExample/DestinationsExample.xcworkspace/contents.xcworkspacedata index 38c7d4f8..eb74af0d 100644 --- a/Examples/apps/DestinationsExample/DestinationsExample.xcworkspace/contents.xcworkspacedata +++ b/Examples/apps/DestinationsExample/DestinationsExample.xcworkspace/contents.xcworkspacedata @@ -4,6 +4,9 @@ + + diff --git a/Examples/apps/DestinationsExample/DestinationsExample/AppDelegate.swift b/Examples/apps/DestinationsExample/DestinationsExample/AppDelegate.swift index 5ee967e2..3e96c097 100644 --- a/Examples/apps/DestinationsExample/DestinationsExample/AppDelegate.swift +++ b/Examples/apps/DestinationsExample/DestinationsExample/AppDelegate.swift @@ -22,7 +22,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. - let configuration = Configuration(writeKey: "WRITE_KEY") + let configuration = Configuration(writeKey: "EioRQCqLHUECnoSseEguI8GnxOlZTOyX") .trackApplicationLifecycleEvents(true) .flushInterval(1) diff --git a/Examples/apps/watchOSExample/watchOSExample WatchKit App/Assets.xcassets/AppIcon.appiconset/Contents.json b/Examples/apps/watchOSExample/watchOSExample WatchKit App/Assets.xcassets/AppIcon.appiconset/Contents.json index d06b66af..78d94601 100644 --- a/Examples/apps/watchOSExample/watchOSExample WatchKit App/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/Examples/apps/watchOSExample/watchOSExample WatchKit App/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -26,6 +26,13 @@ "scale" : "3x", "size" : "29x29" }, + { + "idiom" : "watch", + "role" : "notificationCenter", + "scale" : "2x", + "size" : "33x33", + "subtype" : "45mm" + }, { "idiom" : "watch", "role" : "appLauncher", @@ -40,6 +47,13 @@ "size" : "44x44", "subtype" : "40mm" }, + { + "idiom" : "watch", + "role" : "appLauncher", + "scale" : "2x", + "size" : "46x46", + "subtype" : "41mm" + }, { "idiom" : "watch", "role" : "appLauncher", @@ -47,6 +61,20 @@ "size" : "50x50", "subtype" : "44mm" }, + { + "idiom" : "watch", + "role" : "appLauncher", + "scale" : "2x", + "size" : "51x51", + "subtype" : "45mm" + }, + { + "idiom" : "watch", + "role" : "appLauncher", + "scale" : "2x", + "size" : "54x54", + "subtype" : "49mm" + }, { "idiom" : "watch", "role" : "quickLook", @@ -68,6 +96,20 @@ "size" : "108x108", "subtype" : "44mm" }, + { + "idiom" : "watch", + "role" : "quickLook", + "scale" : "2x", + "size" : "117x117", + "subtype" : "45mm" + }, + { + "idiom" : "watch", + "role" : "quickLook", + "scale" : "2x", + "size" : "129x129", + "subtype" : "49mm" + }, { "idiom" : "watch-marketing", "scale" : "1x", diff --git a/Sources/Segment/Version.swift b/Sources/Segment/Version.swift index 518f36b5..8350b56c 100644 --- a/Sources/Segment/Version.swift +++ b/Sources/Segment/Version.swift @@ -15,4 +15,4 @@ // Use release.sh's automation. // BREAKING.FEATURE.FIX -internal let __segment_version = "1.6.2" +internal let __segment_version = "1.7.0"