Skip to content

Commit 00c8d60

Browse files
author
irgendeinich
committed
Bump to 5.0.1
Add mention to add java 8 to readme
1 parent ad4dec5 commit 00c8d60

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ Let's create a simple app that integrates PSPDFKit and uses the react-native-psp
287287
}
288288
```
289289

290-
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):
290+
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):
291291

292292
```diff
293293
...
@@ -310,6 +310,11 @@ Let's create a simple app that integrates PSPDFKit and uses the react-native-psp
310310
abiFilters "armeabi-v7a", "x86"
311311
}
312312
}
313+
314+
compileOptions {
315+
+ sourceCompatibility JavaVersion.VERSION_1_8
316+
+ targetCompatibility JavaVersion.VERSION_1_8
317+
}
313318
...
314319
```
315320

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Contains gradle configuration constants
33
*/
44
ext {
5-
PSPDFKIT_VERSION = '5.0.0'
5+
PSPDFKIT_VERSION = '5.0.1'
66
}
77

88
buildscript {

0 commit comments

Comments
 (0)