ton1
ton1

Reputation: 7628

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?

Upvotes: 10

Views: 22095

Answers (2)

MendyK
MendyK

Reputation: 1488

Shake the device (to bring up the same menu you would bring up with cmd+D), then tap debug JS remotely

Upvotes: 12

Taj Chaitan
Taj Chaitan

Reputation: 60

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!

Upvotes: 2

Related Questions