Skip to content

Commit

Permalink
Bump to 5.0.1
Browse files Browse the repository at this point in the history
Add mention to add java 8 to readme
  • Loading branch information
irgendeinich committed Nov 15, 2018
1 parent ad4dec5 commit f0c04df
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ editableAnnotationTypes: ["Ink", "Highlight"];
- Android SDK
- Android Build Tools 23.0.1 (React Native)
- Android Build Tools 28.0.3 (PSPDFKit module)
- PSPDFKit >= 5.0.0
- PSPDFKit >= 5.0.1
- react-native >= 0.55.4

#### Getting Started
Expand Down Expand Up @@ -287,7 +287,7 @@ Let's create a simple app that integrates PSPDFKit and uses the react-native-psp
}
```

8. PSPDFKit targets modern platforms, so you'll have to update `compileSdkVersion` to at least API 28 and `targetSdkVersion` to at least API 26 and enable MultiDex. In `YourApp/android/app/build.gradle` (note **five** places to edit):
8. PSPDFKit targets modern platforms, so you'll have to update `compileSdkVersion` to at least API 28 and `targetSdkVersion` to at least API 26 and enable MultiDex. You also need to enable Java 8 support. In `YourApp/android/app/build.gradle` (note **six** places to edit):

```diff
...
Expand All @@ -310,6 +310,11 @@ Let's create a simple app that integrates PSPDFKit and uses the react-native-psp
abiFilters "armeabi-v7a", "x86"
}
}

compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
}
...
```

Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Contains gradle configuration constants
*/
ext {
PSPDFKIT_VERSION = '5.0.0'
PSPDFKIT_VERSION = '5.0.1'
}

buildscript {
Expand Down

0 comments on commit f0c04df

Please sign in to comment.