xuewuli / Tiny.Scatter

Scatter compatible eos injection library
31 stars 16 forks source link

系统兼容 #6

Closed HallCheng closed 5 years ago

HallCheng commented 5 years ago

不知道@xuewu是否尝试过低版本系统 魅族 Android 6.0 ,多数Dapp不能使用,newDex进入提示版本过低

xuewuli commented 5 years ago

确认了问题是 Array#find 和 Proxy 没有polyfill,在低版本webview上不兼容引起的 修改已提交 手边只有一个Android 5.0的三星手机是低版本的,用newDex进行了冒烟测试,通过了 还请你也帮忙验证一下 谢谢~

HallCheng commented 5 years ago

ok

HallCheng commented 5 years ago

image 新版本 调用出现 问题

xuewuli commented 5 years ago

请问是哪一个dapp(url) 做什么操作时出现的(打开就报错,还是要点选什么功能) 是否需要低版本android(低版本的是借来的,如果需要我再去借一下)

HallCheng commented 5 years ago

请问是哪一个dapp(url) 做什么操作时出现的(打开就报错,还是要点选什么功能) 是否需要低版本android(低版本的是借来的,如果需要我再去借一下)

这个是我自己模拟的方法调用,在index中加入tiny_scatter.js和eos.js,进行调用,之前可以运行的,现在找不到function: window.eos = scatter.eos(network, Eos, eosOptions, "https") window.eos.getCurrencyBalance("eosio.token", "geekapp12345", "EOS") .then(x => { console.log(x) if (x.length > 0 && !x["returnedFields"]) {

            }
        })