简体   繁体   English

反应对重载方法dev-tools的本机访问

[英]React native access to the reload method dev-tools

Is there any way to access you have methods of react native dev tools? 有什么方法可以访问您使用本机开发工具的方法?

I would like to make sure that through a button that is in the app being debugged, the reload method that is seen in the image is called. 我想确保通过正在调试的应用程序中的按钮,调用在图像中看到的reload方法。

在此处输入图片说明

  1. If you are using mac, there is a lib called Frappe ( GitHub link ). 如果您使用的是Mac,则存在一个名为Frappe的库( GitHub链接 )。

  2. Also you can use this command in shell: 您也可以在shell中使用此命令:

adb shell input keyevent 82

  1. And finally, take a look at this article which explains: 最后,看一下这篇文章,其中解释了:

How to Extending React Native's Dev Menu 如何扩展React Native的开发菜单

Maybe you can inspire and gather some useful info from that! 也许您可以从中启发并收集一些有用的信息!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM