running on a simulator react native code example
Example: how to run react native app on simulator
react-native run-ios
it choose the simulator automatically
react-native run-android
for already open android emulator
react-native run-ios
it choose the simulator automatically
react-native run-android
for already open android emulator