Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.02 KB

quick-tips.md

File metadata and controls

34 lines (21 loc) · 1.02 KB

React Native Quick Tips

Running in an Emulator

iOS

  • Open the /ios/YoutubeDownPlayer.xcodeproj file in Xcode
  • Select the iOS simulator then press the Play (triangle) icon at the top left

Android

  • From terminal, run android avd. This will open the Android Virtual Device Manager. Select a device to open.
  • In a new terminal window, enter the root directory of the project, then run: react-native run-android

Running on Device

Opening the Debug Menu

  • iOS - CMD + D
  • Android - CMD + M

Reload

  • iOS - CMD + R
  • Android - Double tap R on your keyboard

App Icons

  • Generate the Icons
    • iOS - Place the contents into: /ios/YoutubeDownPlayer/Images.xcassets/AppIcon.appiconset
    • Android - Place the contents into: /android/app/src/main/res/mipmap-*/ic_launcher.png