挑转andorid的uri上加上metamask

This commit is contained in:
cebgcontract 2022-09-15 16:40:36 +08:00
parent fc007c7ffa
commit 1f684ba4a1

View File

@ -8,6 +8,7 @@ if (window.JavascriptJavaBridge) {
window.jumpToWallet = function(url) { window.jumpToWallet = function(url) {
url = url || 'wc://'; url = url || 'wc://';
console.log('jumpToWallet: ' + url); console.log('jumpToWallet: ' + url);
url = 'metamask://wc?uri='+url
jsb.toWallet(url); jsb.toWallet(url);
// jsb.reflection.callStaticMethod( // jsb.reflection.callStaticMethod(
// 'com/jc/jcfw/JcSDK', // 'com/jc/jcfw/JcSDK',