You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CONTRIBUTING.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,9 +41,9 @@ yarn
41
41
42
42
> Since the project relies on Yarn workspaces, you cannot use [`npm`](https://github.com/npm/cli) for development.
43
43
44
-
```sh
45
-
46
44
The [example app](/example/) and [expo example app](/expoExample/) demonstrates usage of the library. You need to run it to test any changes you make.
45
+
The default [configuration](../sharedExample/src/contentpassConfig.ts) in example apps points to contentpass testing environment.
46
+
You can change it to any other environment by updating the `contentpassConfig.ts` file.
47
47
48
48
It is configured to use the local version of the library, so any changes you make to the library's source code will be reflected in the example apps.
49
49
Changes to the library's JavaScript code will be reflected in the example apps without a rebuild, but native code changes will require a rebuild of the example app.
@@ -71,7 +71,10 @@ OR
71
71
yarn expo-example start
72
72
```
73
73
74
-
To run the example app on Android:
74
+
**NOTE**: The `expo start` command only runs the development server. To build and install the app, use the commands
75
+
described below: `yarn expo-example android`, `yarn expo-example ios`.
76
+
77
+
To run the example apps on Android:
75
78
76
79
```sh
77
80
yarn example android
@@ -83,7 +86,7 @@ OR
83
86
yarn expo-example android
84
87
```
85
88
86
-
To run the example app on iOS:
89
+
To run the example apps on iOS:
87
90
88
91
**NOTE**: You need to run `bundle install` in the `example/ios` directory before running the following command.
89
92
`bundle install` commands is responsible for installing the required dependencies for the iOS project.
0 commit comments