简体   繁体   中英

How to debug in iOS real device on React Native project?

I'm making react-native project, it almost done so I am trying to test in real iOS device. Because I heard that push notification is only working in real device.

Okay, when I test it in Simulator, I can launch debugger through Cmd+R -> Turn on debugger , but How about real device?

Can I check console.log in real iOS device?

摇动设备(调出与cmd+D相同的菜单),然后debug JS remotely

It's always a good idea to test your app on an actual device before releasing it to your users. This document will guide you through the necessary steps to run your React Native app on a device.

https://facebook.github.io/react-native/docs/running-on-device.html

Hope this helps!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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