I've built my app, I can run it on my local simulator (and also on my android device within the same network by changing debug server).(我已经构建了我的应用程序,可以在本地模拟器上运行它,也可以通过更改调试服务器在同一网络中的android设备上运行它。)
However, I want to build an apk that I can send to someone without access to development server and I want them to be able to test application.(但是,我想构建一个APK,可以将其发送给某人,而无需访问开发服务器,并且希望他们能够测试应用程序。)
I see there is a section Using offline bundle on iOS section of the documentation.(我看到文档中有一节在iOS上使用脱机捆绑包。) But I couldn't figure out how to accomplish same for android.(但是我不知道如何为android实现相同的功能。) Is this possible?(这可能吗?) If so, how?(如果是这样,怎么办?)
UPDATE: On the answer to this question ( react native android failed to load JS bundle ) it is said that offline bundle can be downloaded from development server.(更新:关于此问题的答案( 响应本机android无法加载JS包 ),据说可以从开发服务器下载脱机包。) But when I obtain the bundle from development server the image files can't be loaded.(但是,当我从开发服务器获取捆绑软件时,无法加载图像文件。)
ask by Gokhan Sari translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…