Skip to content

Commit

Permalink
GrindrPlus: Update to 24.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
R0rt1z2 committed Oct 4, 2024
1 parent d33dd33 commit fa354d3
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 23 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

android {
val grindrVersion = "24.12.0"
val grindrVersion = "24.13.0"

namespace = "com.grindrplus"
compileSdk = 34
Expand All @@ -19,7 +19,7 @@ android {
minSdk = 21
targetSdk = 34
versionCode = 14
versionName = "3.2.1-$grindrVersion ($gitCommitHash)"
versionName = "3.2.2-$grindrVersion ($gitCommitHash)"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/grindrplus/hooks/ChatTerminal.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ChatTerminal : Hook(
"Chat terminal",
"Create a chat terminal to execute commands"
) {
private val chatMessageHandler = "D3.b"
private val chatMessageHandler = "F3.b"

override fun init() {
findClass(chatMessageHandler).hook("n", HookStage.BEFORE) { param ->
Expand Down
6 changes: 0 additions & 6 deletions app/src/main/java/com/grindrplus/hooks/DisableAnalytics.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ class DisableAnalytics : Hook(
param -> param.setResult(null)
}

// AppsFlyer
findClass("J2.C")
.hook("C", HookStage.BEFORE) { param ->
param.setArg(0, false)
}

// Braze
findClass("com.braze.Braze\$Companion")
// See https://braze-inc.github.io/braze-android-sdk/kdoc/braze-android-sdk/com.braze/-braze/-companion/outbound-network-requests-offline.html
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/grindrplus/hooks/DisableBoosting.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ class DisableBoosting : Hook(
"Disable boosting",
"Get rid of all upsells related to boosting"
) {
private val drawerProfileUiState = "e8.h\$a"
private val radarUiModel = "i6.a\$a"
private val drawerProfileUiState = "i8.f\$a"
private val radarUiModel = "l6.a\$a"
private val boostFabUiModel = "com.grindrapp.android.boost2.presentation.model.BoostFabUiModel"

override fun init() {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/grindrplus/hooks/DisableUpdates.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class DisableUpdates : Hook(
"https://raw.githubusercontent.com/R0rt1z2/GrindrPlus/master/version.json"
private val appUpdateInfo = "com.google.android.play.core.appupdate.AppUpdateInfo"
private val appUpdateZzm = "com.google.android.play.core.appupdate.zzm"
private val appUpgradeManager = "Z4.k"
private val appUpgradeManager = "c5.j"
private val appConfiguration = "com.grindrapp.android.base.config.AppConfiguration"
private var versionCode: Int = 0
private var versionName: String = ""
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/grindrplus/hooks/EnableUnlimited.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ class EnableUnlimited : Hook(
) {
private val userSession = "com.grindrapp.android.storage.b"
private val subscribeToInterstitialsList = listOf(
"R7.A\$a", // Chat ($1)
"V7.u\$a" // Chat ($1)
)

override fun init() {
val userSessionClass = findClass(userSession)

userSessionClass.hook( // hasFeature()
"d", HookStage.BEFORE
"m", HookStage.BEFORE
) { param ->
val disallowedFeatures = setOf("DisableScreenshot")
param.setResult(param.arg(0, String::class.java) !in disallowedFeatures)
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/grindrplus/hooks/FeatureGranting.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class FeatureGranting : Hook(
"Feature granting",
"Grant all Grindr features"
) {
private val featureFlags = "z4.h"
private val featureFlags = "B4.h"
private val upsellsV8Model = "com.grindrapp.android.model.UpsellsV8"
private val insertsModel = "com.grindrapp.android.model.Inserts"
private val settingDistanceVisibilityViewModel =
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/grindrplus/hooks/LocalSavedPhrases.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class LocalSavedPhrases : Hook(
"Local saved phrases",
"Save unlimited phrases locally"
) {
private val phrasesRestService = "P2.k"
private val createSuccessResult = "H5.a\$b"
private val phrasesRestService = "S2.k"
private val createSuccessResult = "K5.a\$b"
private val retrofit = "retrofit2.Retrofit"
private val chatRestService = "com.grindrapp.android.chat.api.ChatRestService"
private val addSavedPhraseResponse =
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/grindrplus/hooks/OnlineIndicator.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class OnlineIndicator : Hook(
"Online indicator",
"Customize online indicator duration"
) {
val utils = "T8.Z"
val utils = "Y8.Z"

override fun init() {
findClass(utils) // shouldShowOnlineIndicator()
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/grindrplus/hooks/UnlimitedAlbums.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class UnlimitedAlbums : Hook(
"Unlimited albums",
"Allow to be able to view unlimited albums"
) {
private val albumsService = "t4.a"
private val albumsService = "Q2.a"

override fun init() {
val albumsService = findClass(albumsService)
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/grindrplus/utils/RetrofitUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import java.lang.reflect.Method
import java.lang.reflect.Proxy

object RetrofitUtils {
const val FAIL_CLASS_NAME = "H5.a\$b"
const val SUCCESS_CLASS_NAME = "H5.a\$b"
const val FAIL_CLASS_NAME = "K5.a\$b"
const val SUCCESS_CLASS_NAME = "K5.a\$b"
const val SUCCESS_VALUE_NAME = "a"

fun findPOSTMethod(clazz: Class<*>, value: String): Method? {
Expand Down
4 changes: 2 additions & 2 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"versionName": "24.12.0",
"versionCode": 127593
"versionName": "24.13.0",
"versionCode": 127926
}

0 comments on commit fa354d3

Please sign in to comment.