From af7a0f04dbb5d54c4e200909eadf17ecf0287045 Mon Sep 17 00:00:00 2001 From: Bartosz Rozwarski Date: Thu, 7 Dec 2023 09:36:03 +0100 Subject: [PATCH 1/3] renam register method --- Sources/Web3Wallet/Web3WalletClient.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Web3Wallet/Web3WalletClient.swift b/Sources/Web3Wallet/Web3WalletClient.swift index 38fc6d213..21a93e5e8 100644 --- a/Sources/Web3Wallet/Web3WalletClient.swift +++ b/Sources/Web3Wallet/Web3WalletClient.swift @@ -218,7 +218,7 @@ public class Web3WalletClient { try authClient.getPendingRequests() } - public func registerPushClient(deviceToken: Data, enableEncrypted: Bool = false) async throws { + public func register(deviceToken: Data, enableEncrypted: Bool = false) async throws { try await pushClient.register(deviceToken: deviceToken, enableEncrypted: enableEncrypted) } From be507924f085fbba053ac69e392a4bc80cc5a7c1 Mon Sep 17 00:00:00 2001 From: Bartosz Rozwarski Date: Thu, 7 Dec 2023 09:38:47 +0100 Subject: [PATCH 2/3] savepoint --- Sources/Web3Wallet/Web3WalletClient.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Web3Wallet/Web3WalletClient.swift b/Sources/Web3Wallet/Web3WalletClient.swift index 21a93e5e8..7a3b9ddc7 100644 --- a/Sources/Web3Wallet/Web3WalletClient.swift +++ b/Sources/Web3Wallet/Web3WalletClient.swift @@ -236,7 +236,7 @@ public class Web3WalletClient { #if DEBUG extension Web3WalletClient { - public func registerPushClient(deviceToken: String) async throws { + public func register(deviceToken: String, enableEncrypted: Bool = false) async throws { try await pushClient.register(deviceToken: deviceToken) } } From dee1419970c875bd90e9bb6d651b5dcc6271b5ee Mon Sep 17 00:00:00 2001 From: Bartosz Rozwarski Date: Thu, 7 Dec 2023 09:47:35 +0100 Subject: [PATCH 3/3] remove group identifier from notify configure --- Example/WalletApp/ApplicationLayer/ConfigurationService.swift | 1 - Sources/WalletConnectNotify/Notify.swift | 1 - 2 files changed, 2 deletions(-) diff --git a/Example/WalletApp/ApplicationLayer/ConfigurationService.swift b/Example/WalletApp/ApplicationLayer/ConfigurationService.swift index d8cfd3afe..215f59493 100644 --- a/Example/WalletApp/ApplicationLayer/ConfigurationService.swift +++ b/Example/WalletApp/ApplicationLayer/ConfigurationService.swift @@ -24,7 +24,6 @@ final class ConfigurationService { Web3Wallet.configure(metadata: metadata, crypto: DefaultCryptoProvider(), environment: BuildConfiguration.shared.apnsEnvironment) Notify.configure( - groupIdentifier: "group.com.walletconnect.sdk", environment: BuildConfiguration.shared.apnsEnvironment, crypto: DefaultCryptoProvider() ) diff --git a/Sources/WalletConnectNotify/Notify.swift b/Sources/WalletConnectNotify/Notify.swift index a86ffc892..9ed189307 100644 --- a/Sources/WalletConnectNotify/Notify.swift +++ b/Sources/WalletConnectNotify/Notify.swift @@ -25,7 +25,6 @@ public class Notify { /// Wallet's configuration method static public func configure( pushHost: String = "echo.walletconnect.com", - groupIdentifier: String, environment: APNSEnvironment, crypto: CryptoProvider, notifyHost: String = "notify.walletconnect.com",