无法执行 JS 调用:__fbBatchedBridge 未定义 [英] Unable to execute JS call: __fbBatchedBridge is undefined

查看:50
本文介绍了无法执行 JS 调用:__fbBatchedBridge 未定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只收到这个错误,当我使用捆绑的 js.Before 捆绑的应用程序正常工作之前,使用的 React Native 版本是 0.19.如何在捆绑时消除这个错误,请帮帮我

I get this error only, when I use bundled js.Before bundled app works properly ,used react native version is 0.19.How to remove this error while bundled please help me

截图附在下面

推荐答案

确保您的 AppDelegate.m 文件没有将 React URL 注册为指向磁盘.在 0.19 中,部署到模拟器时不会创建磁盘包.它必须通过本地主机或其他 IP 获取包.

Ensure that your AppDelegate.m file is not registering the React URL as pointing to disk. In 0.19, no on-disk bundle is created when deploying to the simulator. It must fetch the bundle over localhost or another IP.

这篇关于无法执行 JS 调用:__fbBatchedBridge 未定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆