search

Home  >  Q&A  >  body text

android - React中使用webViewjavaScriptBridge实现Hybrid交互问题

在普通的html页面中是需要放入关键性的js代码,但是在react中,不清楚在哪里放,另外语法是否也需要修改。

发现是webPack的地址问题,把后缀去掉留下 ip:8000/就好了

大家讲道理大家讲道理2892 days ago259

reply all(1)I'll reply

  • PHPz

    PHPz2017-04-18 09:19:17

    React can also be placed directly, but the type of the script tag does not seem to be JavaScript. You can research the specific type later

    reply
    0
  • Cancelreply