Skip to content

Latest commit

 

History

History
 
 

README.md

react-native-device-info example project

Installation

  • git clone https://github.com/react-native-community/react-native-device-info.git
  • cd react-native-device-info/example
  • npm install

Running Android

  • make sure you have no other packagers running!
  • react-native start
  • start an emulator (e.g., using Android Studio -> Tools -> AVD Manager -> start one)
  • react-native run-android

Running iOS

  • make sure you have no other packagers running!
  • react-native start

Without CocoaPods

  • react-native run-ios

With CocoaPods

  • cd ios && pod install && cd ..
  • react-native run-ios

Troubleshooting

  • if things don't work, clean up all your build and node_modules folders, npm install and rebuild