weishirongzhen / flutter_trust_wallet_core

MIT License
90 stars 32 forks source link

Username must not be null #52

Closed codersangam closed 1 year ago

codersangam commented 1 year ago

I tried to generate token and place UN and token in build.gradle but got errors for android. iOS seems to work fine. I even tried your libs and your github un and token but got same error.

Screenshot 2022-12-25 at 2 03 52 PM
weishirongzhen commented 1 year ago

maven { url = uri("https://maven.pkg.github.com/trustwallet/wallet-core") credentials { username = project.findProperty("gpr.user") ?: System.getenv("USERNAME") password = project.findProperty("gpr.key") ?: System.getenv("TOKEN") } }

set your github credentials

codersangam commented 1 year ago

I used username and token after generating token but sill have same issue.