我这边有两个方法是无效的,照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)
}
}
}