From 5bf77a1dc37ea1de5a0bcb217f4d74737631318b Mon Sep 17 00:00:00 2001 From: Andrey Kadatsky Date: Wed, 12 Oct 2022 16:16:27 +0300 Subject: [PATCH 1/4] Replace jcenter with mavenCentral --- android/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 67578a2..15f8327 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -4,7 +4,7 @@ version '1.0' buildscript { repositories { google() - jcenter() + mavenCentral() } dependencies { @@ -15,7 +15,7 @@ buildscript { rootProject.allprojects { repositories { google() - jcenter() + mavenCentral() } } @@ -34,5 +34,5 @@ android { dependencies { implementation 'androidx.appcompat:appcompat:1.0.0' - implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1' + implementation 'com.github.mhiew:android-pdf-viewer:3.2.0-beta.3' } \ No newline at end of file From 236003f82c1d5f89b2885be26e5110f378d06e0c Mon Sep 17 00:00:00 2001 From: Andrey Kadatsky Date: Wed, 12 Oct 2022 17:32:50 +0300 Subject: [PATCH 2/4] targetSdkVersion 29 => 33 --- example/android/app/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 949a90b..57b4cca 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -25,7 +25,7 @@ apply plugin: 'com.android.application' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 29 + compileSdkVersion 33 lintOptions { disable 'InvalidPackage' @@ -35,7 +35,7 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.erluxman.pdf_flutter_example" minSdkVersion 16 - targetSdkVersion 29 + targetSdkVersion 33 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } From 4834406de181312e9ffc27393e64a740dc46a265 Mon Sep 17 00:00:00 2001 From: Andrey Kadatsky Date: Wed, 12 Oct 2022 17:55:21 +0300 Subject: [PATCH 3/4] compileSdkVersion 29 => 33 --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 15f8327..c122125 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -22,7 +22,7 @@ rootProject.allprojects { apply plugin: 'com.android.library' android { - compileSdkVersion 28 + compileSdkVersion 33 defaultConfig { minSdkVersion 16 From 301a36df181f57f0d6b34a5347590b74e7580ece Mon Sep 17 00:00:00 2001 From: Andrey Kadatsky Date: Tue, 19 Nov 2024 10:35:46 +0200 Subject: [PATCH 4/4] Add namespace --- android/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/android/build.gradle b/android/build.gradle index c122125..5ea2c37 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -22,6 +22,7 @@ rootProject.allprojects { apply plugin: 'com.android.library' android { + namespace "com.erluxman.pdf_flutter" compileSdkVersion 33 defaultConfig {