我正在尝试在我的react原生应用程序中使用代理(使用CRNA和Expo构建)。因此,在我的package.json文件中,我输入了:"proxy": "192.168.1.27:8080" and then make simple get request with fetch withthe/users` path和react call me network error (他看不到代理参数,我调试时只看到了/users )。在react
我想从android设备上的react原生应用程序连接到笔记本电脑上的localhostAPI。我在这里看到了这个回复 ReactNativeAndroid Fetch failing on connection to local API 在那里,建议摇动设备,这将打开开发人员菜单,然后单击开发设置但是,当我摇动设备并打开开发者菜单时,没有dev settings选项。我附上了开发人员菜单的屏
当试图在物理设备上运行生成的build或调试时,它正在加载旧的包。没有反映任何变化,它只发生在同一网络上的物理设备。 Kill all processes and run bundle scriptrm -rf $TMPDIR/react-*--resetCache true--reset-cache
5.