-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Web3Wallet] Echo #751
[Web3Wallet] Echo #751
Conversation
# Conflicts: # Sources/Web3Wallet/Web3WalletClient.swift
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
Sources/Web3Wallet/Web3Wallet.swift
Outdated
@@ -35,10 +36,11 @@ public class Web3Wallet { | |||
/// - Parameters: | |||
/// - metadata: App metadata | |||
/// - signerFactory: Auth signers factory | |||
static public func configure(metadata: AppMetadata, signerFactory: SignerFactory) { | |||
static public func configure(metadata: AppMetadata, signerFactory: SignerFactory, echoHost: String = "echo.walletconnect.com", environment: APNSEnvironment) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should the echo host be an optional? not every project is using our PN solution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you mean if we pass nil
then Echo
won't call configure? what about environment
then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add echo config? that is optional and contains both?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or it's good, just add a default environment?
Due Dilligence