From 18f8a0f997e6408bc5f67db2ccd3193ba64ae3d0 Mon Sep 17 00:00:00 2001 From: Zephyron Date: Fri, 21 Feb 2025 18:46:48 +1000 Subject: Add license verification for Android app Implements a LicenseVerifier class to ensure app integrity and license compliance: - Verifies the app's package name matches the official release - Validates app signature against official release signature - Allows debug and EA (Early Access) builds - Shows violation dialog and exits if verification fails - Enforces GPLv3 license compliance for modified versions This helps prevent unauthorized modified versions from being distributed without source code, as required by the GPLv3 license. --- src/android/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/android/build.gradle.kts') diff --git a/src/android/build.gradle.kts b/src/android/build.gradle.kts index 4f7490f06..083dd7395 100644 --- a/src/android/build.gradle.kts +++ b/src/android/build.gradle.kts @@ -4,8 +4,8 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - id("com.android.application") version "8.8.0" apply false - id("com.android.library") version "8.8.0" apply false + id("com.android.application") version "8.1.2" apply false + id("com.android.library") version "8.1.2" apply false id("org.jetbrains.kotlin.android") version "1.9.20" apply false } -- cgit v1.2.3