Skip to content

Commit 8f8a3e2

Browse files
authored
Update Android part to PSPDFKit 6.1.1 (#54)
Update Android part to PSPDFKit 6.1.1
2 parents 60eab4a + bcc51fe commit 8f8a3e2

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

android/config.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if (pspdfkitPassword == null || pspdfkitPassword == '') {
3636

3737
ext.pspdfkitVersion = localProperties.getProperty('pspdfkit.version')
3838
if (pspdfkitVersion == null || pspdfkitVersion == '') {
39-
ext.pspdfkitVersion = '6.0.0'
39+
ext.pspdfkitVersion = '6.1.1'
4040
}
4141

4242
def pspdfkitIsDemo = localProperties.getProperty('pspdfkit.demo')
@@ -50,11 +50,11 @@ ext.pspdfkitMavenModuleName = (pspdfkitIsDemo && !useUnifiedBinaries(ext.pspdfki
5050

5151
ext.pspdfkitFlutterVersion = '1.0.0-SNAPSHOT'
5252

53-
ext.androidCompileSdkVersion = 28
54-
ext.androidBuildToolsVersion = '28.0.3'
53+
ext.androidCompileSdkVersion = 29
54+
ext.androidBuildToolsVersion = '29.0.1'
5555
ext.androidMinSdkVersion = 19
56-
ext.androidTargetSdkVersion = 28
57-
ext.androidGradlePluginVersion = '3.4.2'
56+
ext.androidTargetSdkVersion = 29
57+
ext.androidGradlePluginVersion = '3.5.2'
5858

5959
// Returns true when version1 is more recent than or equals to version2.
6060
boolean isMoreRecentOrEqual(String version1, String version2) {

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: pspdfkit_example
22
description: Demonstrates how to use the pspdfkit plugin.
3-
version: 1.7.0
3+
version: 1.8.0
44
author: PSPDFKit
55
homepage: https://pspdfkit.com/
66
environment:

lib/pspdfkit.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class Pspdfkit {
5656

5757
/// Checks the external storage permission for writing on Android only.
5858
static Future<bool> checkAndroidWriteExternalStoragePermission() async {
59-
_channel.invokeMethod(
59+
return _channel.invokeMethod(
6060
"checkPermission",
6161
{"permission": "WRITE_EXTERNAL_STORAGE"}
6262
);

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: pspdfkit_flutter
22
description: PSPDFKit flutter plugin.
3-
version: 1.7.0
3+
version: 1.8.0
44
author: PSPDFKit
55
homepage: https://pspdfkit.com/
66
environment:

0 commit comments

Comments
 (0)