diff --git a/app/build.gradle b/app/build.gradle index f529384c..07b9a00c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -6,7 +6,7 @@ plugins { ext.versionMajor = 1 ext.versionMinor = 1 ext.versionPatch = 3 -ext.grindrVersion = '8.20.0' +ext.grindrVersion = '8.22.1' private String genVersionName() { String versionName = "${ext.versionMajor}.${ext.versionMinor}.${ext.versionPatch}" @@ -24,7 +24,7 @@ android { applicationId 'com.eljaviluki.grindrplus' minSdk 21 targetSdk 32 - versionCode 8 + versionCode 9 versionName genVersionName() versionNameSuffix getVersionNameSuffix() } diff --git a/app/src/main/java/com/eljaviluki/grindrplus/Hooker.kt b/app/src/main/java/com/eljaviluki/grindrplus/Hooker.kt index 7e4426e7..a9d48ac9 100644 --- a/app/src/main/java/com/eljaviluki/grindrplus/Hooker.kt +++ b/app/src/main/java/com/eljaviluki/grindrplus/Hooker.kt @@ -108,7 +108,7 @@ class Hooker : IXposedHookLoadPackage { } companion object { - const val TARGET_PKG_VERSION_NAME = "8.20.0" + const val TARGET_PKG_VERSION_NAME = "8.22.1" var pkgParam: LoadPackageParam by InitOnce() var appContext: Context by InitOnce() diff --git a/app/src/main/java/com/eljaviluki/grindrplus/Hooks.kt b/app/src/main/java/com/eljaviluki/grindrplus/Hooks.kt index 66afc635..579fbdb9 100644 --- a/app/src/main/java/com/eljaviluki/grindrplus/Hooks.kt +++ b/app/src/main/java/com/eljaviluki/grindrplus/Hooks.kt @@ -216,10 +216,10 @@ object Hooks { Hooker.pkgParam.classLoader ), - findClass( + /*findClass( GApp.storage.UserSession2, Hooker.pkgParam.classLoader - ) + )*/ ).forEach { userSessionImpl -> findAndHookMethod( userSessionImpl, diff --git a/app/src/main/java/com/eljaviluki/grindrplus/Obfuscation.kt b/app/src/main/java/com/eljaviluki/grindrplus/Obfuscation.kt index c06e3ef3..edf19f7d 100644 --- a/app/src/main/java/com/eljaviluki/grindrplus/Obfuscation.kt +++ b/app/src/main/java/com/eljaviluki/grindrplus/Obfuscation.kt @@ -15,7 +15,7 @@ object Obfuscation { object experiment { private const val _experiment = Constants.GRINDR_PKG + ".experiment" - const val Experiments = "$_experiment.a" + const val Experiments = "$_experiment.b" object Experiments_ { const val uncheckedIsEnabled_expMgr = "c" } @@ -68,26 +68,25 @@ object Obfuscation { object R { private const val _R = Constants.GRINDR_PKG - const val color = "$_R.h0" + const val color = "$_R.m0" object color_ { - const val grindr_gold_star_gay = "y" - const val grindr_pure_white = "P" + const val grindr_gold_star_gay = "z" + const val grindr_pure_white = "Q" } } object storage { private const val _storage = Constants.GRINDR_PKG + ".storage" - const val UserSession = "$_storage.v0" - const val UserSession2 = "$_storage.w0" + const val UserSession = "$_storage.z0" - const val IUserSession = "$_storage.IUserSession" + const val IUserSession = "$_storage.UserSession" object IUserSession_ { const val hasFeature_feature = "a" - const val isFree = "i" - const val isNoXtraUpsell = "o" - const val isXtra = "f" - const val isUnlimited = "p" + const val isFree = "k" + const val isNoXtraUpsell = "r" + const val isXtra = "g" + const val isUnlimited = "s" } } @@ -116,7 +115,7 @@ object Obfuscation { object view { private const val _view = Constants.GRINDR_PKG + ".view" - const val ExtendedProfileFieldView = "$_view.k4" + const val ExtendedProfileFieldView = "$_view.v4" object ExtendedProfileFieldView_ { const val setLabel = "l" const val setValue = "n"