Skip to content

Commit 65923ac

Browse files
poovamrajWidcket
andauthored
Update DEVELOPMENT.md documentation (#451)
* Update DEVELOPMENT.md * Remove extra characters Co-authored-by: Rita Zerrizuela <zeta@widcket.com>
1 parent 2adcbf0 commit 65923ac

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

DEVELOPMENT.md

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11
## Setup the development environment
22

3-
This project uses yarn.
3+
To test the SDK manually, follow the below steps
44

5-
- Run `yarn install` to set up the environment.
6-
- Make the changes you desire and push them to a Github repository.
7-
- On your application project, run `yarn add <git remote url>#<branch/commit/tag>`.
8-
- Run the tests with `yarn test`.
5+
- Ensure [yarn](https://yarnpkg.com/) is setup in your machine.
6+
- Download or Clone the sample app from [here](https://github.com/auth0-samples/auth0-react-native-sample/tree/master/00-Login).
7+
- Change the path of react-native-auth0 in package.json to the path of the SDK in your computer
98

10-
For more information, see [yarn docs](https://yarnpkg.com/lang/en/docs/cli/add/).
9+
```shell
10+
"react-native-auth0": "../{PATH IN COMPUTER}/react-native-auth0"
11+
```
12+
13+
- Few folders have to be deleted to ensure the correct version of the SDK is installed.
14+
15+
```shell
16+
rm -rf node_modules ios/Pods ios/Podfile.lock
17+
```
18+
19+
- Install the required dependencies.
20+
21+
```shell
22+
yarn install && ( cd ios && pod install )
23+
```
24+
25+
- run `yarn run android` or `yarn run ios` to run the app with the new version of SDK

0 commit comments

Comments
 (0)