Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native run on specific emulator

// android
react-native run-android --deviceId=DEVICE_ID
// list devices ids
adb devices
// ios
npx react-native run-ios --simulator=DEVICE_NAME
// list devices names
xcrun simctl list devices
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #native #run #specific #emulator
ADD COMMENT
Topic
Name
4+9 =