34 lines
1.2 KiB
Markdown
34 lines
1.2 KiB
Markdown
# React Native TestFairy Example
|
|
|
|
This is a sample project using the [TestFairy REST API](http://docs.testfairy.com/API/Rest_API.html). It also demonstrates how to make use of the [TestFairy React Native SDK](http://docs.testfairy.com/iOS_SDK/Integrating_with_react_native.html).
|
|
|
|
## Build
|
|
#### iOS
|
|
1. `$ npm install`
|
|
2. `$ npm start`
|
|
3. Open your Xcode, select a simulator, click the play button or `cmd + R`
|
|
|
|
#### Android
|
|
Same to [official doc](http://facebook.github.io/react-native/docs/android-setup.html#content)
|
|
|
|
1. `$ npm install`
|
|
2. `$ npm start`
|
|
3. `$ react-native run-android` or open the Android project in Android studio and run
|
|
|
|
License
|
|
=======
|
|
|
|
Copyright 2016 TestFairy.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|