From 41ff327e1e7fb815c26fd0e70f675e9553c9e22a Mon Sep 17 00:00:00 2001 From: Vasyl Koshkin Date: Sun, 10 Mar 2024 22:38:45 +0200 Subject: [PATCH 1/8] Update gradle and configuration files --- android-pdf-viewer/bintray.gradle | 89 ------------------- android-pdf-viewer/build.gradle | 76 +++++++++------- android-pdf-viewer/consumer-rules.pro | 0 android-pdf-viewer/proguard-rules.pro | 22 +++++ .../src/main/AndroidManifest.xml | 3 +- build.gradle | 26 +++--- gradle/wrapper/gradle-wrapper.properties | 4 +- sample/build.gradle | 37 ++++---- sample/src/main/AndroidManifest.xml | 6 +- settings.gradle | 19 +++- 10 files changed, 122 insertions(+), 160 deletions(-) delete mode 100644 android-pdf-viewer/bintray.gradle create mode 100644 android-pdf-viewer/consumer-rules.pro create mode 100644 android-pdf-viewer/proguard-rules.pro diff --git a/android-pdf-viewer/bintray.gradle b/android-pdf-viewer/bintray.gradle deleted file mode 100644 index 9a01f197..00000000 --- a/android-pdf-viewer/bintray.gradle +++ /dev/null @@ -1,89 +0,0 @@ -apply plugin: 'com.github.dcendents.android-maven' -apply plugin: 'com.jfrog.bintray' - -group = publishedGroupId -version = libraryVersion - -install { - repositories.mavenInstaller { - pom.project { - packaging 'aar' - groupId publishedGroupId - artifactId artifact - - name libraryName - description libraryDescription - url siteUrl - - licenses { - license { - name licenseName - url licenseUrl - } - } - developers { - developer { - id developerId - name developerName - email developerEmail - } - } - scm { - connection gitUrl - developerConnection gitUrl - url siteUrl - } - } - } -} - -task sourcesJar(type: Jar) { - classifier = 'sources' - from android.sourceSets.main.java.srcDirs -} - -task javadoc(type: Javadoc) { - source = android.sourceSets.main.java.srcDirs - classpath += project.files(android.getBootClasspath().join(File.pathSeparator)) -} - -afterEvaluate { - javadoc.classpath += files(android.libraryVariants.collect { variant -> - variant.javaCompileProvider.get().classpath.files - }) -} - -task javadocJar(type: Jar, dependsOn: javadoc) { - classifier = 'javadoc' - from javadoc.destinationDir -} - -artifacts { - archives javadocJar - archives sourcesJar -} - -Properties properties = new Properties() -properties.load(project.rootProject.file('local.properties').newDataInputStream()) - -bintray { - user = properties.getProperty("bintray.user") - key = properties.getProperty("bintray.apikey") - - configurations = ['archives'] - pkg { - repo = bintrayRepo - name = bintrayName - desc = libraryDescription - websiteUrl = siteUrl - vcsUrl = gitUrl - licenses = allLicenses - dryRun = false - publish = true - override = false - publicDownloadNumbers = true - version { - desc = libraryDescription - } - } -} \ No newline at end of file diff --git a/android-pdf-viewer/build.gradle b/android-pdf-viewer/build.gradle index 32d03665..5166fad8 100644 --- a/android-pdf-viewer/build.gradle +++ b/android-pdf-viewer/build.gradle @@ -1,44 +1,58 @@ -apply plugin: 'com.android.library' - -ext { - bintrayRepo = 'maven' - bintrayName = 'android-pdf-viewer' - - publishedGroupId = 'com.github.barteksc' - libraryName = 'AndroidPdfViewer' - artifact = 'android-pdf-viewer' - - libraryDescription = 'Android view for displaying PDFs rendered with PdfiumAndroid' - - siteUrl = 'https://github.com/barteksc/AndroidPdfViewer' - gitUrl = 'https://github.com/barteksc/AndroidPdfViewer.git' - - libraryVersion = '3.2.0-beta.1' - - developerId = 'barteksc' - developerName = 'Bartosz Schiller' - developerEmail = 'barteksch@boo.pl' - - licenseName = 'The Apache Software License, Version 2.0' - licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt' - allLicenses = ["Apache-2.0"] +plugins { + id 'com.android.library' + id 'maven-publish' } android { - compileSdkVersion 28 + namespace "com.github.barteksc.pdfviewer" + + compileSdk rootProject.tools.compileSdk defaultConfig { - minSdkVersion 14 - targetSdkVersion 28 + minSdk rootProject.tools.minSdk + targetSdk rootProject.tools.targetSdk + versionCode 1 - versionName "3.2.0-beta.1" + versionName "${rootProject.tools.versionName}" + } + + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } } + compileOptions { + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 + } + + publishing { + publishing { + singleVariant("release") { + withSourcesJar() + withJavadocJar() + } + } + } } dependencies { - implementation 'com.android.support:support-compat:28.0.0' - api 'com.github.barteksc:pdfium-android:1.9.0' + implementation 'androidx.appcompat:appcompat:1.6.1' + api 'com.github.lion1988dev:PdfiumAndroid:1.9.1' } -apply from: 'bintray.gradle' \ No newline at end of file +publishing { + publications { + release(MavenPublication) { + groupId = 'com.github.lion1988dev' + artifactId = 'com.github.barteksc.pdfviewer' + version = "3.2.1" + + afterEvaluate { + from components.release + } + } + } +} \ No newline at end of file diff --git a/android-pdf-viewer/consumer-rules.pro b/android-pdf-viewer/consumer-rules.pro new file mode 100644 index 00000000..e69de29b diff --git a/android-pdf-viewer/proguard-rules.pro b/android-pdf-viewer/proguard-rules.pro new file mode 100644 index 00000000..8dbc9fc1 --- /dev/null +++ b/android-pdf-viewer/proguard-rules.pro @@ -0,0 +1,22 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile +-keep class com.shockwave.** diff --git a/android-pdf-viewer/src/main/AndroidManifest.xml b/android-pdf-viewer/src/main/AndroidManifest.xml index 4263d3a5..f0dcb5ed 100644 --- a/android-pdf-viewer/src/main/AndroidManifest.xml +++ b/android-pdf-viewer/src/main/AndroidManifest.xml @@ -1,5 +1,4 @@ - + \ No newline at end of file diff --git a/build.gradle b/build.gradle index 0a9a0ba0..9f6f5e07 100644 --- a/build.gradle +++ b/build.gradle @@ -1,19 +1,13 @@ - -buildscript { - repositories { - google() - jcenter() - } - dependencies { - classpath 'com.android.tools.build:gradle:3.4.2' - classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4' - classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' - } +plugins { + id 'com.android.application' version '8.3.0' apply false + id 'com.android.library' version '8.3.0' apply false } -allprojects { - repositories { - google() - jcenter() - } +ext { + tools = [ + minSdk : 23, + targetSdk : 34, + compileSdk : 34, + versionName: '3.2.1' + ] } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 1a59b22b..dd5eae38 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Sun Aug 18 01:14:14 CEST 2019 +#Sun Mar 10 12:47:57 EET 2024 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip diff --git a/sample/build.gradle b/sample/build.gradle index 133bcdde..ab1f8403 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -1,32 +1,33 @@ -buildscript { - repositories { - google() - jcenter() - } -} - -repositories { - google() - jcenter() +plugins { + id 'com.android.application' } -apply plugin: 'com.android.application' - android { - compileSdkVersion 28 + namespace "com.github.barteksc.sample" + + compileSdk rootProject.tools.compileSdk defaultConfig { - minSdkVersion 14 - targetSdkVersion 28 + minSdk rootProject.tools.minSdk + targetSdk rootProject.tools.targetSdk + versionCode 3 - versionName "3.0.0" - } + versionName "${rootProject.tools.versionName}" + javaCompileOptions { + annotationProcessorOptions { + arguments = ["androidManifestFile": "$projectDir/src/main/AndroidManifest.xml".toString()] + } + } + } } dependencies { + implementation 'androidx.appcompat:appcompat:1.6.1' implementation project(':android-pdf-viewer') - implementation 'com.android.support:appcompat-v7:28.0.0' +// implementation 'com.github.lion1988dev:AndroidPdfViewer:3.2.1' + implementation 'org.androidannotations:androidannotations-api:4.6.0' + annotationProcessor "org.androidannotations:androidannotations:4.6.0" } diff --git a/sample/src/main/AndroidManifest.xml b/sample/src/main/AndroidManifest.xml index d6ce646c..2777d3dd 100644 --- a/sample/src/main/AndroidManifest.xml +++ b/sample/src/main/AndroidManifest.xml @@ -7,14 +7,18 @@ android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/Theme.AppCompat.Light"> + + android:exported="true"> + + + \ No newline at end of file diff --git a/settings.gradle b/settings.gradle index 90ef0b93..64fac2de 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,2 +1,19 @@ +pluginManagement { + repositories { + gradlePluginPortal() + google() + mavenCentral() + } +} +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { + google() + mavenCentral() + maven { url 'https://jitpack.io' } + } +} +rootProject.name = "AndroidPdfViewer demo" + include ':android-pdf-viewer' -include ':sample' \ No newline at end of file +include ':sample' From 3734a53146f6a04b54595c96825a3afe0ca74579 Mon Sep 17 00:00:00 2001 From: Vasyl Koshkin Date: Sun, 10 Mar 2024 22:39:22 +0200 Subject: [PATCH 2/8] Refactor android support to androidx --- .../java/com/github/barteksc/pdfviewer/CacheManager.java | 2 +- .../barteksc/pdfviewer/scroll/DefaultScrollHandle.java | 2 +- gradle.properties | 3 +++ .../java/com/github/barteksc/sample/PDFViewActivity.java | 8 ++++---- 4 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 gradle.properties diff --git a/android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/CacheManager.java b/android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/CacheManager.java index 082ca3bf..8ba04a53 100644 --- a/android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/CacheManager.java +++ b/android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/CacheManager.java @@ -16,7 +16,7 @@ package com.github.barteksc.pdfviewer; import android.graphics.RectF; -import android.support.annotation.Nullable; +import androidx.annotation.Nullable; import com.github.barteksc.pdfviewer.model.PagePart; diff --git a/android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/scroll/DefaultScrollHandle.java b/android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/scroll/DefaultScrollHandle.java index 8195a540..aa9206b4 100644 --- a/android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/scroll/DefaultScrollHandle.java +++ b/android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/scroll/DefaultScrollHandle.java @@ -4,7 +4,7 @@ import android.graphics.Color; import android.graphics.drawable.Drawable; import android.os.Handler; -import android.support.v4.content.ContextCompat; +import androidx.core.content.ContextCompat; import android.util.TypedValue; import android.view.MotionEvent; import android.view.ViewGroup; diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 00000000..7ba01846 --- /dev/null +++ b/gradle.properties @@ -0,0 +1,3 @@ +android.enableJetifier=false +android.useAndroidX=true +android.nonFinalResIds=false diff --git a/sample/src/main/java/com/github/barteksc/sample/PDFViewActivity.java b/sample/src/main/java/com/github/barteksc/sample/PDFViewActivity.java index d23b0008..1a9ec7ea 100755 --- a/sample/src/main/java/com/github/barteksc/sample/PDFViewActivity.java +++ b/sample/src/main/java/com/github/barteksc/sample/PDFViewActivity.java @@ -22,10 +22,10 @@ import android.graphics.Color; import android.net.Uri; import android.provider.OpenableColumns; -import android.support.annotation.NonNull; -import android.support.v4.app.ActivityCompat; -import android.support.v4.content.ContextCompat; -import android.support.v7.app.AppCompatActivity; +import androidx.annotation.NonNull; +import androidx.core.app.ActivityCompat; +import androidx.core.content.ContextCompat; +import androidx.appcompat.app.AppCompatActivity; import android.util.Log; import android.widget.Toast; From 80753f1e5654339393d7207e99604ba82a26f7fa Mon Sep 17 00:00:00 2001 From: Vasyl Koshkin Date: Sun, 10 Mar 2024 22:51:52 +0200 Subject: [PATCH 3/8] Update README --- CHANGELOG.md | 6 ++++++ README.md | 23 ++++++++++++++++++++--- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7652d133..7b108d4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 3.2.1 (2024-03-10) +* Change minimum SDK version to 19 +* Drop MIPS support +* Update to Androidx +* Switch pdfium-android to a [fork](https://github.com/lion1988dev/PdfiumAndroid) so we can disable jetifier + ## 3.2.0-beta.1 (2019-08-18) * Merge PR #714 with optimized page load * Merge PR #776 with fix for max & min zoom level diff --git a/README.md b/README.md index 72fe8678..abe7251e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ -# Looking for new maintainer! +#### This is a fork of the [AndroidPdfViewer](https://github.com/barteksc/AndroidPdfViewer) +switch back to the mainline repo when it gets migrated off JCenter # Android PdfViewer @@ -12,6 +13,12 @@ Library for displaying PDF documents on Android, with `animations`, `gestures`, It is based on [PdfiumAndroid](https://github.com/barteksc/PdfiumAndroid) for decoding PDF files. Works on API 11 (Android 3.0) and higher. Licensed under Apache License 2.0. +## 3.2.1 +* Change minimum SDK version to 23 +* Drop MIPS support +* Update to Androidx +* Switch pdfium-android to a [fork](https://github.com/lion1988dev/PdfiumAndroid) so we can disable jetifier + ## What's new in 3.2.0-beta.1? * Merge PR #714 with optimized page load * Merge PR #776 with fix for max & min zoom level @@ -35,9 +42,19 @@ Licensed under Apache License 2.0. ## Installation -Add to _build.gradle_: +Add to the root _build.gradle_: +```groovy +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { + mavenCentral() + maven { url 'https://jitpack.io' } + } + } +``` +Add to the app _build.gradle_: -`implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'` +`implementation 'com.github.lion1988dev:AndroidPdfViewer:3.2.1'` or if you want to use more stable version: From 1156b16bc96411eeffb1a08a1f4f440d58b603ab Mon Sep 17 00:00:00 2001 From: Vasyl Koshkin Date: Tue, 12 Mar 2024 12:34:25 +0200 Subject: [PATCH 4/8] - Decrease min Android API to 21 --- android-pdf-viewer/build.gradle | 4 ++-- build.gradle | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android-pdf-viewer/build.gradle b/android-pdf-viewer/build.gradle index 5166fad8..5865a606 100644 --- a/android-pdf-viewer/build.gradle +++ b/android-pdf-viewer/build.gradle @@ -40,7 +40,7 @@ android { dependencies { implementation 'androidx.appcompat:appcompat:1.6.1' - api 'com.github.lion1988dev:PdfiumAndroid:1.9.1' + api 'com.github.lion1988dev:PdfiumAndroid:1.9.2' } publishing { @@ -48,7 +48,7 @@ publishing { release(MavenPublication) { groupId = 'com.github.lion1988dev' artifactId = 'com.github.barteksc.pdfviewer' - version = "3.2.1" + version = "3.2.2" afterEvaluate { from components.release diff --git a/build.gradle b/build.gradle index 9f6f5e07..766d2ef7 100644 --- a/build.gradle +++ b/build.gradle @@ -5,9 +5,9 @@ plugins { ext { tools = [ - minSdk : 23, + minSdk : 21, targetSdk : 34, compileSdk : 34, - versionName: '3.2.1' + versionName: '3.2.2' ] } From dae0b1e723734872c90ff79c4dd820bc268d6f04 Mon Sep 17 00:00:00 2001 From: Vasyl Koshkin Date: Mon, 18 Mar 2024 16:50:22 +0200 Subject: [PATCH 5/8] Update version --- android-pdf-viewer/build.gradle | 6 +++--- build.gradle | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/android-pdf-viewer/build.gradle b/android-pdf-viewer/build.gradle index 5865a606..f587f6dd 100644 --- a/android-pdf-viewer/build.gradle +++ b/android-pdf-viewer/build.gradle @@ -12,7 +12,7 @@ android { minSdk rootProject.tools.minSdk targetSdk rootProject.tools.targetSdk - versionCode 1 + versionCode rootProject.tools.versionCode versionName "${rootProject.tools.versionName}" } @@ -40,7 +40,7 @@ android { dependencies { implementation 'androidx.appcompat:appcompat:1.6.1' - api 'com.github.lion1988dev:PdfiumAndroid:1.9.2' + api 'com.github.lion1988dev:PdfiumAndroid:1.9.3' } publishing { @@ -48,7 +48,7 @@ publishing { release(MavenPublication) { groupId = 'com.github.lion1988dev' artifactId = 'com.github.barteksc.pdfviewer' - version = "3.2.2" + version = "3.2.3" afterEvaluate { from components.release diff --git a/build.gradle b/build.gradle index 766d2ef7..c4240b5b 100644 --- a/build.gradle +++ b/build.gradle @@ -8,6 +8,7 @@ ext { minSdk : 21, targetSdk : 34, compileSdk : 34, - versionName: '3.2.2' + versionCode: 2, + versionName: '3.2.3' ] } From 925f39f1240aaeb77f7d3807c1c91210f5afa5c0 Mon Sep 17 00:00:00 2001 From: Vasyl Koshkin Date: Mon, 18 Mar 2024 16:52:31 +0200 Subject: [PATCH 6/8] Update README --- CHANGELOG.md | 4 ++++ README.md | 13 ++++++------- android-pdf-viewer/build.gradle | 4 +++- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b108d4f..ac2745f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.2.3 (2024-03-18) +* Change minimum SDK version to 21 +* Update [PdfiumAndroid library](https://github.com/lion1988dev/PdfiumAndroid) to 1.9.3 + ## 3.2.1 (2024-03-10) * Change minimum SDK version to 19 * Drop MIPS support diff --git a/README.md b/README.md index abe7251e..8f7c6dc2 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,11 @@ Library for displaying PDF documents on Android, with `animations`, `gestures`, It is based on [PdfiumAndroid](https://github.com/barteksc/PdfiumAndroid) for decoding PDF files. Works on API 11 (Android 3.0) and higher. Licensed under Apache License 2.0. +## 3.2.3 +* Change minimum SDK version to 21 +* Update [PdfiumAndroid library](https://github.com/lion1988dev/PdfiumAndroid) to 1.9.3 + + ## 3.2.1 * Change minimum SDK version to 23 * Drop MIPS support @@ -54,13 +59,7 @@ dependencyResolutionManagement { ``` Add to the app _build.gradle_: -`implementation 'com.github.lion1988dev:AndroidPdfViewer:3.2.1'` - -or if you want to use more stable version: - -`implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'` - -Library is available in jcenter repository, probably it'll be in Maven Central soon. +`implementation 'com.github.lion1988dev:AndroidPdfViewer:3.2.3'` ## ProGuard If you are using ProGuard, add following rule to proguard config file: diff --git a/android-pdf-viewer/build.gradle b/android-pdf-viewer/build.gradle index f587f6dd..306d36c6 100644 --- a/android-pdf-viewer/build.gradle +++ b/android-pdf-viewer/build.gradle @@ -3,6 +3,8 @@ plugins { id 'maven-publish' } +group "com.github.lion1988dev" + android { namespace "com.github.barteksc.pdfviewer" @@ -47,7 +49,7 @@ publishing { publications { release(MavenPublication) { groupId = 'com.github.lion1988dev' - artifactId = 'com.github.barteksc.pdfviewer' + artifactId = 'AndroidPdfViewer' version = "3.2.3" afterEvaluate { From 04262ab9c6b2bc830def4563d9ef740beafac231 Mon Sep 17 00:00:00 2001 From: Vasyl Koshkin Date: Tue, 19 Mar 2024 10:58:22 +0200 Subject: [PATCH 7/8] Update PdfiumAndroid library --- android-pdf-viewer/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android-pdf-viewer/build.gradle b/android-pdf-viewer/build.gradle index 306d36c6..9f48e95c 100644 --- a/android-pdf-viewer/build.gradle +++ b/android-pdf-viewer/build.gradle @@ -42,7 +42,7 @@ android { dependencies { implementation 'androidx.appcompat:appcompat:1.6.1' - api 'com.github.lion1988dev:PdfiumAndroid:1.9.3' + api 'com.github.lion1988dev:PdfiumAndroid:1.9.4' } publishing { @@ -50,7 +50,7 @@ publishing { release(MavenPublication) { groupId = 'com.github.lion1988dev' artifactId = 'AndroidPdfViewer' - version = "3.2.3" + version = "3.2.4" afterEvaluate { from components.release From 081372d03e4a21194e20426d70b07d4f9c524373 Mon Sep 17 00:00:00 2001 From: Vasyl Koshkin Date: Tue, 19 Mar 2024 10:59:15 +0200 Subject: [PATCH 8/8] Increase version to 3.2.4 --- CHANGELOG.md | 3 +++ README.md | 5 ++++- build.gradle | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac2745f8..a1c1f096 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 3.2.4 (2024-03-19) +* Update [PdfiumAndroid library](https://github.com/lion1988dev/PdfiumAndroid) to 1.9.4 + ## 3.2.3 (2024-03-18) * Change minimum SDK version to 21 * Update [PdfiumAndroid library](https://github.com/lion1988dev/PdfiumAndroid) to 1.9.3 diff --git a/README.md b/README.md index 8f7c6dc2..1fa2bedb 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,14 @@ Library for displaying PDF documents on Android, with `animations`, `gestures`, It is based on [PdfiumAndroid](https://github.com/barteksc/PdfiumAndroid) for decoding PDF files. Works on API 11 (Android 3.0) and higher. Licensed under Apache License 2.0. +## 3.2.4 +* Update [PdfiumAndroid library](https://github.com/lion1988dev/PdfiumAndroid) to 1.9.4 + + ## 3.2.3 * Change minimum SDK version to 21 * Update [PdfiumAndroid library](https://github.com/lion1988dev/PdfiumAndroid) to 1.9.3 - ## 3.2.1 * Change minimum SDK version to 23 * Drop MIPS support diff --git a/build.gradle b/build.gradle index c4240b5b..395eeff6 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ ext { minSdk : 21, targetSdk : 34, compileSdk : 34, - versionCode: 2, - versionName: '3.2.3' + versionCode: 3, + versionName: '3.2.4' ] }