We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
val authorize = Authorize() val blockchains = ArrayList() blockchains.add(Blockchain("ethereum", "1")) authorize.blockchains = blockchains authorize.action = "login" authorize.actionId = System.currentTimeMillis().toString() authorize.protocol = "TokenPocket" authorize.version = "v1.0" authorize.dappName = "youwin" authorize.memo = "demo" TPManager.getInstance().authorize(act, authorize, object : TPListener { override fun onSuccess(s: String?) { Log.d("tp_wallet", s.orEmpty()) }
override fun onError(s: String?) { Log.d("tp_wallet", s.orEmpty()) } override fun onCancel(s: String?) { Log.d("tp_wallet", s.orEmpty()) } })
这段代码,调起TP钱包授权后,没有回调TPListener是为什么呢?
The text was updated successfully, but these errors were encountered:
1.用的sdk版本是多少? 2.现在最新版sdk是“1.2.1”,不需要手动设置version和action
Sorry, something went wrong.
No branches or pull requests
val authorize = Authorize()
val blockchains = ArrayList()
blockchains.add(Blockchain("ethereum", "1"))
authorize.blockchains = blockchains
authorize.action = "login"
authorize.actionId = System.currentTimeMillis().toString()
authorize.protocol = "TokenPocket"
authorize.version = "v1.0"
authorize.dappName = "youwin"
authorize.memo = "demo"
TPManager.getInstance().authorize(act, authorize, object : TPListener {
override fun onSuccess(s: String?) {
Log.d("tp_wallet", s.orEmpty())
}
这段代码,调起TP钱包授权后,没有回调TPListener是为什么呢?
The text was updated successfully, but these errors were encountered: