Skip to content

Commit 85c4bf8

Browse files
committed
Improve Getting started section
Signed-off-by: Simone Arpe <[email protected]>
1 parent 9f064e2 commit 85c4bf8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Let's create a simple app that integrates PSPDFKit and uses the react-native-psp
146146
}
147147
```
148148

149-
7. PSPDFKit targets modern platforms, so you'll have to update `compileSdkVersion` and `targetSdkVersion` to at least API 25 (note **three** places to edit):
149+
7. PSPDFKit targets modern platforms, so you'll have to update `compileSdkVersion` and `targetSdkVersion` to at least API 25 and enable MultiDex. From `YourApp/android/app/build.gradle` (note **four** places to edit):
150150

151151
```diff
152152
...
@@ -158,6 +158,7 @@ Let's create a simple app that integrates PSPDFKit and uses the react-native-psp
158158

159159
defaultConfig {
160160
applicationId "com.yourapp"
161+
+ multiDexEnabled true
161162
minSdkVersion 16
162163
- targetSdkVersion 22
163164
+ targetSdkVersion 25
@@ -281,7 +282,7 @@ with
281282

282283
1. Clone the repository. `git clone https://github.com/PSPDFKit/react-native.git`.
283284
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.)
284-
3. Add your customer portal password to `samples/Catalog/build.gradle`:
285+
3. Add your customer portal password to `samples/Catalog/android/build.gradle`:
285286
286287
```groovy
287288
maven {

0 commit comments

Comments
 (0)