From abbe5ffb88c61d75ab4c2115bc52fd978af70aa3 Mon Sep 17 00:00:00 2001 From: chiteroman <98092901+chiteroman@users.noreply.github.com> Date: Mon, 22 Jan 2024 23:37:59 +0100 Subject: [PATCH] update --- app/build.gradle.kts | 4 ++-- app/src/main/cpp/main.cpp | 3 ++- module/module.prop | 4 ++-- update.json | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 0cbf0a3..a42934e 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -12,8 +12,8 @@ android { applicationId = "es.chiteroman.playintegrityfix" minSdk = 26 targetSdk = 34 - versionCode = 15300 - versionName = "v15.3" + versionCode = 15310 + versionName = "v15.3.1" externalNativeBuild { ndk { diff --git a/app/src/main/cpp/main.cpp b/app/src/main/cpp/main.cpp index 8dd9289..a845e6c 100644 --- a/app/src/main/cpp/main.cpp +++ b/app/src/main/cpp/main.cpp @@ -113,7 +113,6 @@ public: void onLoad(zygisk::Api *api, JNIEnv *env) override { this->api = api; this->env = env; - env->GetJavaVM(&jvm); } void preAppSpecialize(zygisk::AppSpecializeArgs *args) override { @@ -142,6 +141,8 @@ public: return; } + env->GetJavaVM(&jvm); + long dexSize = 0, jsonSize = 0; int fd = api->connectCompanion(); diff --git a/module/module.prop b/module/module.prop index 1d32e71..f7df0df 100644 --- a/module/module.prop +++ b/module/module.prop @@ -1,7 +1,7 @@ id=playintegrityfix name=Play Integrity Fix -version=v15.3 -versionCode=15300 +version=v15.3.1 +versionCode=15310 author=chiteroman description=Universal modular fix for Play Integrity (and SafetyNet) on devices running Android 8+. updateJson=https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/main/update.json diff --git a/update.json b/update.json index 474e78a..b1ddaa8 100644 --- a/update.json +++ b/update.json @@ -1,6 +1,6 @@ { "version": "v15.3", "versionCode": 15300, - "zipUrl": "https://github.com/chiteroman/PlayIntegrityFix/releases/download/v15.3/PlayIntegrityFix_v15.3.zip", + "zipUrl": "https://github.com/chiteroman/PlayIntegrityFix/releases/download/v15.3/PlayIntegrityFix_v15.3.1.zip", "changelog": "https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/main/changelog.md" } \ No newline at end of file