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: README.md
+25-20Lines changed: 25 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -268,28 +268,33 @@ with
268
268
#### Running Catalog Project
269
269
270
270
1. Clone the repository. `git clone https://github.com/PSPDFKit/react-native.git`.
271
-
2. Add dependencies to `android/build.gradle` (not `samples/Catalog/android/build.gradle`).
272
-
273
-
A complete list of the dependencies needed can be found in the [documentation](https://pspdfkit.com/guides/android/current/getting-started/integrating-pspdfkit/#toc_manual-library-file-integration) step 6, under `Manual library file integration`.
274
-
For PSPDFKit 2.9.3 :
275
-
276
-
```
277
-
dependencies {
278
-
...
279
-
//compile 'com.pspdfkit:pspdfkit:2.9.3@aar'<-- DO NOT ADD THE LIBRARY ITSELF
2. Install dependencies: run `yarn install` from `samples/Catalog` directory. (Because of a [bug](https://github.com/yarnpkg/yarn/issues/2165) you may need to clean `yarn`'s cache with `yarn cache clean` before.)
272
+
3. Add your customer portal password to `samples/Catalog/build.gradle`:
273
+
274
+
```groovy
275
+
maven {
276
+
url 'https://customers.pspdfkit.com/maven/'
277
+
278
+
credentials {
279
+
username 'pspdfkit'
280
+
password 'YOUR_MAVEN_PASSWORD_GOES_HERE'
281
+
}
282
+
}
283
+
```
284
+
285
+
4. Update license key in `samples/Catalog/android/app/src/main/AndroidManifest.xml`:
4. Install dependencies: run `yarn install` from `samples/Catalog` directory. (Because of a [bug](https://github.com/yarnpkg/yarn/issues/2165) you may need to clean `yarn`'s cache with `yarn cache clean` before.)
293
298
5. Catalog app is now ready to launch. From `samples/Catalog` directory run `react-native run-android`.
0 commit comments