Skip to content

Commit

Permalink
Bump to 8.22.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ElJaviLuki committed Dec 5, 2022
1 parent 509e2d4 commit dfdb802
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 17 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -24,7 +24,7 @@ android {
applicationId 'com.eljaviluki.grindrplus'
minSdk 21
targetSdk 32
versionCode 8
versionCode 9
versionName genVersionName()
versionNameSuffix getVersionNameSuffix()
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/eljaviluki/grindrplus/Hooker.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/eljaviluki/grindrplus/Hooks.kt
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,10 @@ object Hooks {
Hooker.pkgParam.classLoader
),

findClass(
/*findClass(
GApp.storage.UserSession2,
Hooker.pkgParam.classLoader
)
)*/
).forEach { userSessionImpl ->
findAndHookMethod(
userSessionImpl,
Expand Down
23 changes: 11 additions & 12 deletions app/src/main/java/com/eljaviluki/grindrplus/Obfuscation.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down Expand Up @@ -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"
}
}

Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit dfdb802

Please sign in to comment.