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", diff --git a/Sources/Web3Wallet/Web3WalletClient.swift b/Sources/Web3Wallet/Web3WalletClient.swift index 38fc6d213..7a3b9ddc7 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) } @@ -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) } }