walletconnectkit-android icon indicating copy to clipboard operation
walletconnectkit-android copied to clipboard

Walletconnectkit pulling wrong/old web3j:utils dependency

Open RWolfing opened this issue 1 year ago • 0 comments

I was scratching my head because of the following issue when using walletconnectkit while also using the standard web3j:core dependency in one project:

java.lang.NoSuchMethodError: No static method isBlank(Ljava/lang/String;)Z in class Lorg/web3j/utils/Strings; or its super classes (declaration of 'org.web3j.utils.Strings' at org.web3j.ens.EnsResolver.resolve(EnsResolver.java:152)

Running ./gradlew app:dependencies and also the walletconnectkit gradle shows that you are pulling web3j:utils:5.0.0 which imho is incorrect as the current version is 4.9.4. I honestly dont know why there is even a maven upload with a 5.0.0 tag. The 5.0.0 build is indeed missing Strings.isBlank.

So I think walletconnectkit should "downgrade" the web3j:utils version to the current 4.9.4.

RWolfing avatar Aug 14 '22 22:08 RWolfing