Skip to content

Commit

Permalink
Release Visits 2.16.5 (78) to AppStore
Browse files Browse the repository at this point in the history
  • Loading branch information
tulushev committed Jan 16, 2024
1 parent df89aa8 commit d616f2b
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 41 deletions.
10 changes: 5 additions & 5 deletions Visits.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 52;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -331,7 +331,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = Visits/Visits.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 76;
CURRENT_PROJECT_VERSION = 78;
DEVELOPMENT_ASSET_PATHS = "\"Visits/Preview Content\"";
DEVELOPMENT_TEAM = H4925W78YQ;
ENABLE_PREVIEWS = YES;
Expand All @@ -342,7 +342,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.16.3;
MARKETING_VERSION = 2.16.5;
PRODUCT_BUNDLE_IDENTIFIER = com.hypertrack.logistics.ios.store;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand All @@ -357,7 +357,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = Visits/Visits.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 76;
CURRENT_PROJECT_VERSION = 78;
DEVELOPMENT_ASSET_PATHS = "\"Visits/Preview Content\"";
DEVELOPMENT_TEAM = H4925W78YQ;
ENABLE_PREVIEWS = YES;
Expand All @@ -368,7 +368,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.16.3;
MARKETING_VERSION = 2.16.5;
PRODUCT_BUNDLE_IDENTIFIER = com.hypertrack.logistics.ios.store;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,30 @@
}
},
{
"package": "Branch",
"package": "BranchSDK",
"repositoryURL": "https://github.com/BranchMetrics/ios-branch-deep-linking-attribution",
"state": {
"branch": null,
"revision": "723657c0c0f396e1255ee19568ad0cf0f6f60902",
"version": "1.42.0"
"revision": "40f6d5d179d60fd25888196dfa09b229de4521a9",
"version": "3.0.1"
}
},
{
"package": "HyperTrack",
"repositoryURL": "https://github.com/hypertrack/sdk-ios",
"state": {
"branch": null,
"revision": "72797454627fac4f977fcd1f67052a3466c94993",
"version": "5.0.2"
"revision": "3d558fcc8a798ba15d61dbe9dc0911d8e4a519ba",
"version": "5.2.0"
}
},
{
"package": "Sentry",
"repositoryURL": "https://github.com/getsentry/sentry-cocoa",
"state": {
"branch": null,
"revision": "80928b7e19a713fea798ba45c8bfda38096d7f30",
"version": "5.2.2"
"revision": "3b9a8e69ca296bd8cd0e317ad7a448e5daf4a342",
"version": "8.18.0"
}
},
{
Expand All @@ -51,8 +51,8 @@
"repositoryURL": "https://github.com/apple/swift-collections",
"state": {
"branch": null,
"revision": "48254824bb4248676bf7ce56014ff57b142b77eb",
"version": "1.0.2"
"revision": "d029d9d39c87bed85b1c50adee7c41795261a192",
"version": "1.0.6"
}
},
{
Expand Down Expand Up @@ -96,8 +96,8 @@
"repositoryURL": "https://github.com/pointfreeco/swift-tagged",
"state": {
"branch": null,
"revision": "f3f773a5e13f3c8f0ab1ce2ae6378058acefa87d",
"version": "0.7.0"
"revision": "3907a9438f5b57d317001dc99f3f11b46882272b",
"version": "0.10.0"
}
},
{
Expand Down
12 changes: 6 additions & 6 deletions Visits/Modules/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ let targets: [Target] = [
.target(name: "AppBundleDependency", dependencies: [architecture, nonEmpty, "Types"]),
.target(name: "AppBundleDependencyLive", dependencies: ["AppBundleDependency", "LogEnvironment"]),
.target(name: "BranchEnvironment", dependencies: [architecture, nonEmpty, "Types", "Validated"]),
.target(name: "BranchEnvironmentLive", dependencies: ["Branch", "BranchEnvironment", "LogEnvironment", tagged, "Utility", "Validated"]),
.target(name: "BranchEnvironmentLive", dependencies: ["BranchSDK", "BranchEnvironment", "LogEnvironment", tagged, "Utility", "Validated"]),
.target(name: "PushEnvironmentLive", dependencies: ["LogEnvironment", "PushEnvironment"]),
.target(name: "ErrorReportingEnvironment", dependencies: [architecture, nonEmpty, tagged, "Types"]),
.target(name: "ErrorReportingEnvironmentLive", dependencies: ["ErrorReportingEnvironment", "LogEnvironment", "Sentry"]),
Expand Down Expand Up @@ -98,14 +98,14 @@ let package = Package(
.library(name: $0.name, targets: [$0.name])
},
dependencies: [
.package(name: "Branch", url: "https://github.com/BranchMetrics/ios-branch-deep-linking-attribution", .exact("1.42.0")),
.package( url: "https://github.com/apple/swift-collections", .exact("1.0.2")),
.package(name: "BranchSDK", url: "https://github.com/BranchMetrics/ios-branch-deep-linking-attribution", .exact("3.0.1")),
.package( url: "https://github.com/apple/swift-collections", .exact("1.0.6")),
.package( url: "https://github.com/pointfreeco/swift-composable-architecture", .exact("0.36.0")),
.package( url: "https://github.com/pointfreeco/swift-custom-dump", .exact("0.5.0")),
.package(name: "HyperTrack", url: "https://github.com/hypertrack/sdk-ios", .exact("5.0.2")),
.package(name: "HyperTrack", url: "https://github.com/hypertrack/sdk-ios", .exact("5.2.0")),
.package( url: "https://github.com/pointfreeco/swift-nonempty", .exact("0.4.0")),
.package(name: "Sentry", url: "https://github.com/getsentry/sentry-cocoa", .exact("5.2.2")),
.package( url: "https://github.com/pointfreeco/swift-tagged", .exact("0.7.0")),
.package(name: "Sentry", url: "https://github.com/getsentry/sentry-cocoa", .exact("8.18.0")),
.package( url: "https://github.com/pointfreeco/swift-tagged", .exact("0.10.0")),
.package(name: "Validated", url: "https://github.com/pointfreeco/swift-validated", .exact("0.2.1"))
],
targets: targets + testTargets
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Branch
import BranchSDK
import BranchEnvironment
import Combine
import ComposableArchitecture
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ public extension ErrorReportingEnvironment {
addBreadcrumb: { type, message in
.fireAndForget {
for breadcrumb in splitBreadcrumb(type, message) {
SentrySDK.addBreadcrumb(crumb: breadcrumb)
SentrySDK.addBreadcrumb(breadcrumb)
}
}
},
capture: { m in
.fireAndForget {
if m.string.count > maxBreadcrumbLength {
for breadcrumb in splitBreadcrumb(.error, .init(rawValue: m.rawValue)) {
SentrySDK.addBreadcrumb(crumb: breadcrumb)
SentrySDK.addBreadcrumb(breadcrumb)
}
}
SentrySDK.capture(message: m.string)
Expand All @@ -25,8 +25,7 @@ public extension ErrorReportingEnvironment {
startErrorMonitoring: {
.fireAndForget {
SentrySDK.start { options in
options.dsn = "https://b7c00b414cf14086b0bd873305058044@sentry.htprod.hypertrack.com/7"
options.attachStacktrace = false
options.dsn = "https://8f52171cebd9779c2970b4290033dac5@o4504966481051648.ingest.sentry.io/4506582033104896"
}
}
},
Expand Down
15 changes: 1 addition & 14 deletions Visits/Modules/Sources/HyperTrackEnvironmentLive/Live.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,7 @@ public extension HyperTrackEnvironment {
makeSDK: { pk in
.result {
logEffect("makeSDK: \(pk.string)")
let documentsDirectory = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first!
let hypertrackDirectory = documentsDirectory.appendingPathComponent("hypertrack")
let filePath = hypertrackDirectory.appendingPathComponent("publishable_key_dynamic")
do {
try FileManager.default.createDirectory(at: hypertrackDirectory, withIntermediateDirectories: true, attributes: nil)
} catch {
fatalError()
}
do {
try pk.string.write(to: filePath, atomically: true, encoding: .utf8)
logEffect("makeSDK: File saved successfully!")
} catch {
fatalError()
}
HyperTrack.dynamicPublishableKey = pk.string
isUnlocked = true
subscribe()
return .success(statusUpdate(isTracking: HyperTrack.isTracking, isAvailable: HyperTrack.isAvailable, errors: HyperTrack.errors))
Expand Down

0 comments on commit d616f2b

Please sign in to comment.