1

无法取消支付和授权回购无效

 2 years ago
source link: https://learnblockchain.cn/question/2447
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
无法取消支付和授权回购无效 | 登链社区 | 技术问答

无法取消支付和授权回购无效

我这边有两个方法是无效的,照ios Demo 写的,无法取消支付和授权回购无效(加签方法是什么),能告诉我怎么处理了

activity.runOnUiThread {
                    context.post {
                        val text = "Canceled"
                        val callback = "window.ethereum.sendError(${obj["id"] as Long},\"$text\")"
                        context.evaluateJavascript(callback) { value ->
                            println(value)
                        }
                    }
                }

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK