Skip to content

Commit 46fdc78

Browse files
author
Kadi Kraman
committed
Update example readmes
1 parent 4218b70 commit 46fdc78

File tree

5 files changed

+21
-44
lines changed

5 files changed

+21
-44
lines changed

Example/AndroidExample/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
Demo application for Android
44

55
## Versions
6-
**React Native** 0.57.2
7-
**App Auth:** 0.94.0
8-
**React Native App Auth:** 3.1.0
6+
- **React Native** 0.57.2
7+
- **App Auth:** 0.94.0
8+
- **React Native App Auth:** 3.1.0
99

1010
## Setup
1111

Example/Latest/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
Demo application that uses the version of react-native-app-auth in this repo
44

55
## Versions
6-
**React Native** 0.57.2
7-
**App Auth:** Latest
8-
**React Native App Auth:** Latest
6+
- **React Native** 0.57.2
7+
- **App Auth:** Latest
8+
- **React Native App Auth:** Latest
99

1010
## Setup
1111

@@ -25,10 +25,12 @@ yarn
2525

2626
## Run
2727

28+
iOS
2829
```
2930
react-native run-ios
3031
```
3132

33+
Android
3234
```
3335
react-native run-android
3436
```

Example/README.md

Lines changed: 7 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,10 @@
11
# React Native App Auth Examples
22

3-
Example application for the `react-native-app-auth` library.
3+
Example applications for the `react-native-app-auth` library.
44

5-
![Demo](demo.gif)
6-
7-
## Setup
8-
9-
You'll need to have Yarn and the React Native CLI installed:
10-
11-
```sh
12-
npm install --global yarn react-native-cli
13-
```
14-
15-
Clone the repo and install dependencies
16-
17-
```sh
18-
git clone https://github.com/FormidableLabs/react-native-app-auth.git
19-
cd ./react-native-app-auth/Example/Latest
20-
yarn
21-
```
22-
23-
## Run
24-
25-
iOS:
26-
27-
```
28-
react-native run-ios
29-
```
30-
31-
Android:
32-
33-
```
34-
react-native run-android
35-
```
5+
This repo contains 4 React Native demo applications with the same JS code, but different native implementations.
366

7+
All the JS code can be found in `App.js`.
378

389
### Latest (Android & iOS)
3910
Latest code in the repo for both iOS and Android
@@ -46,3 +17,7 @@ iOS app only with the AppAuth dependency installed from Carthage
4617

4718
### Android
4819
Android app only
20+
21+
## Demo
22+
23+
![Demo](demo.gif)

Example/iOSCarthageExample/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
Demo application installing the AppAuth dependency using Carthage
44

55
## Versions
6-
**React Native** 0.57.2
7-
**App Auth:** 0.94.0
8-
**React Native App Auth:** [from PR](https://github.com/FormidableLabs/react-native-app-auth/pull/189)
6+
- **React Native** 0.57.2
7+
- **App Auth:** 0.94.0
8+
- **React Native App Auth:** [from PR](https://github.com/FormidableLabs/react-native-app-auth/pull/189)
99

1010
## Setup
1111

Example/iOSPodsExample/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
Demo application installing the AppAuth dependency using Pods
44

55
## Versions
6-
**React Native** 0.57.2
7-
**App Auth:** 0.94.0
8-
**React Native App Auth:** 3.1.0
6+
- **React Native** 0.57.2
7+
- **App Auth:** 0.94.0
8+
- **React Native App Auth:** 3.1.0
99

1010
## Setup
1111

0 commit comments

Comments
 (0)