From 7195603350a1c4b6fda965f42a9529384658b559 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 6 Dec 2023 21:25:36 +0100 Subject: [PATCH] Install provider --- app/build.gradle | 7 +++++ app/src/amazon/AndroidManifest.xml | 2 +- .../eu/faircode/email/ApplicationSecure.java | 26 +++++++++++++++++++ app/src/debug/AndroidManifest.xml | 2 +- app/src/fdroid/AndroidManifest.xml | 2 +- .../eu/faircode/email/ApplicationSecure.java | 26 +++++++++++++++++++ app/src/github/AndroidManifest.xml | 2 +- app/src/main/AndroidManifest.xml | 2 +- .../java/eu/faircode/email/EmailService.java | 4 +-- app/src/play/AndroidManifest.xml | 2 +- .../eu/faircode/email/ApplicationSecure.java | 26 +++++++++++++++++++ 11 files changed, 93 insertions(+), 8 deletions(-) create mode 100644 app/src/amazon/java/eu/faircode/email/ApplicationSecure.java create mode 100644 app/src/fdroid/java/eu/faircode/email/ApplicationSecure.java create mode 100644 app/src/play/java/eu/faircode/email/ApplicationSecure.java diff --git a/app/build.gradle b/app/build.gradle index a90b721fab..4e8f3c537a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -513,6 +513,7 @@ dependencies { def exif_version = "1.3.6" def biometric_version = "1.2.0-alpha05" def billingclient_version = "6.0.1" + def playservicesbase_version = "18.2.0"; def javamail_version = "1.6.7" def jsoup_version = "1.16.2" def jsonpath_version = "2.8.0" @@ -654,6 +655,12 @@ dependencies { largeImplementation "com.android.billingclient:billing:$billingclient_version" playImplementation "com.android.billingclient:billing:$billingclient_version" + // https://mvnrepository.com/artifact/com.google.android.gms/play-services-base + //githubImplementation "com.google.android.gms:play-services-basement:$playservicesbase_version" + //largeImplementation "com.google.android.gms:play-services-basement:$playservicesbase_version" + //playImplementation "com.google.android.gms:play-services-basement:$playservicesbase_version" + implementation "com.google.android.gms:play-services-basement:$playservicesbase_version" + // https://developer.amazon.com/docs/in-app-purchasing/iap-get-started.html amazonImplementation files('lib/in-app-purchasing-2.0.76.jar') diff --git a/app/src/amazon/AndroidManifest.xml b/app/src/amazon/AndroidManifest.xml index 291dce703d..4393aac615 100644 --- a/app/src/amazon/AndroidManifest.xml +++ b/app/src/amazon/AndroidManifest.xml @@ -111,7 +111,7 @@