Updates related to imToken WebView.
Uncaught (in promise) TypeError: this.send is not a function
TypeError: this._eip1193Send is not a function. (In 'this._eip1193Send(payload.method, payload.params)', 'this._eip1193Send' is undefined)
In previous versions, the imToken App would automatically add a patch to fix bugs from third parties, but this had some side effects and we will remove the automatically applied patch starting with version
2.9.4of the imToken App.
This is a bug from
web3.js, so we recommend that you upgrade or downgrade the
web3.jspackage to fix this issue.
Starting in 2021, the imToken App will no longer inject the
web3.jsAPI, so if you are still using such libraries, please package web3.js inside your web app yourself.