File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 22## react-native 开发常见问题
33
44#### iOS
5- 1、 在不修改` info.plist ` 文件之前,一定要用` https ` 的网络请求(如何修改请百度);
6- 2、在使用定位,拍照,相机等权限的时候,也需要在` info.plist ` 中修改,可以参考[ react-native-image-picker闪退的解决办法] ( https://www.jianshu.com/p/977bc5eea1b1 )
5+ > 1、 在不修改` info.plist ` 文件之前,一定要用` https ` 的网络请求(如何修改请百度);
6+ >
7+ > 2、在使用定位,拍照,相机等权限的时候,也需要在` info.plist ` 中修改,可以参考[ react-native-image-picker闪退的解决办法] ( https://www.jianshu.com/p/977bc5eea1b1 )
78
89
910#### Android
10- 1、真机调试的时候,需要在` Dev Settings ` 里面修改` Debug server host & port for device ` ,将` 本地IP + :8081 ` 填入输入框;
11- 2、真机调试的时候,如果无法通过摇一摇唤起开发菜单,可以通过终端运行` adb shell input keyevent 82 ` 唤起;
12- 3、真机调试的时候,小米、魅族要开启悬浮窗权限和关闭MIUI优化;
11+ > 1、真机调试的时候,需要在` Dev Settings ` 里面修改` Debug server host & port for device ` ,将` 本地IP + :8081 ` 填入输入框;
12+
13+ > 2、真机调试的时候,如果无法通过摇一摇唤起开发菜单,可以通过终端运行` adb shell input keyevent 82 ` 唤起;
14+
15+ > 3、真机调试的时候,小米、魅族要开启悬浮窗权限和关闭MIUI优化;
1316
You can’t perform that action at this time.
0 commit comments