Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
llbartekll committed Jan 17, 2023
1 parent e95d8a8 commit 993de84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Example/ExampleApp/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
let deviceToken = InputConfig.simulatorIdentifier
assert(deviceToken != "SIMULATOR_IDENTIFIER", "Please set your Simulator identifier")
Task(priority: .high) {
// try await Push.wallet.register(deviceToken: deviceToken)
try await Push.wallet.register(deviceToken: deviceToken)
}
}.store(in: &self!.publishers)
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private extension WalletPushClient {
}
}

#if DEBUG
#if targetEnvironment(simulator)
extension WalletPushClient {
public func register(deviceToken: String) async throws {
try await echoClient.register(deviceToken: deviceToken)
Expand Down

0 comments on commit 993de84

Please sign in to comment.