https://github.com/rebeccahughes/react-native-device-info
Raw File
Tip revision: 7b44570aaf0b3ed61d7fdae2ec618846f8ad6bc4 authored by Mike Hardy on 24 July 2019, 01:58:59 UTC
2.3.0
Tip revision: 7b44570
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
back to top