-
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
[Push] configure echo over push config #663
Conversation
Sources/WalletConnectPush/Push.swift
Outdated
static public func configure() throws { | ||
var clientId: String! | ||
do { | ||
clientId = try Networking.interactor.getClientId() |
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 clientId always exist? We can create generate it if not possible to try keychain.read(key: key)
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.
It is created automatically if it does not exist yet but there is possible error from writing/reading keychain, thats why we use try
.
Make sense?
1845d4a
to
e4f964b
Compare
Description
add push config in order to not require from sdk consumer configuration of Echo
How Has This Been Tested?
manual testing with Example App
Due Dilligence