WalletConnect / kotlin-walletconnect-lib

library to use WalletConnect with Kotlin or Java
MIT License
156 stars 100 forks source link

while using fromWCUri(), I get this: #84

Closed razaghimahdi closed 2 years ago

razaghimahdi commented 2 years ago

while using fromWCUri(), I get this: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 why? for example, I put this value: de42fc30-3e1d-4dbf-8412-bfc037e849a5@1?bridge=https%3A%2F%2Fh.bridge.walletconnect.org&key=d3d83f4ee144fe8cf28505cfaeb8c2a1779f89167fed70e139c94743b8857442

razaghimahdi commented 2 years ago

well basic format of uri must be something like this: wc:3cdd88bc-66a5-445b-b455-dcdcfcd8b528@1?bridge=https%3A%1F%2Fu.bridge.walletconnect.org&key=5916189520935a5c3b4ec3c5c8a26ee0cd196e1e82343c240c918001f9aba324

it was something from me, which is fixed now