ReVanced / revanced-patches

🧩 Patches for ReVanced
https://revanced.app
GNU General Public License v3.0
2.2k stars 255 forks source link

Messenger patch fail #2711

Closed Sam101011 closed 6 months ago

Sam101011 commented 6 months ago

Bug description

Disable switching emoji to sticker patch fails on newest Messenger v444.1.0.49.109 when using ReVanced Manager

Error logs

- Device Info
ReVanced Manager: 1.18.0
Model: JNY-LX1
Android version: 10
Supported architectures: arm64-v8a, armeabi-v7a, armeabi
Root permissions: No

- Patch Info
App: com.facebook.orca v444.1.0.49.109 (Suggested: Any)
Patches version: v4.2.0
Patches added: Default
Patches removed: None
Default patch options changed: None

- Settings
Allow changing patch selection: true
Version compatibility check: true
Show universal patches: false
Patches source: revanced/revanced-patches
Integration source: revanced/revanced-integrations

- Logs
Copying APK
Reading APK
Decoding app manifest
Loading patches
Executing patches
Disable switching emoji to sticker failed: app.revanced.patcher.patch.PatchException: Failed to resolve SwitchMessangeInputEmojiButtonFingerprint
    at app.revanced.util.BytecodeUtilsKt.getException(BytecodeUtils.kt:24)
    at app.revanced.patches.messenger.inputfield.patch.DisableSwitchingEmojiToStickerPatch.execute(DisableSwitchingEmojiToStickerPatch.kt:34)
    at app.revanced.patches.messenger.inputfield.patch.DisableSwitchingEmojiToStickerPatch.execute(DisableSwitchingEmojiToStickerPatch.kt:13)
    at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:174)
    at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203)
    at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8)
    at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4)
    at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61)
    at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230)
    at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:341)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
    at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
    at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
    at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
    at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
    at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$36(MainActivity.kt:340)
    at app.revanced.manager.flutter.MainActivity.$r8$lambda$wwTqh4bVDMuwAT_qXBREk8gLHGU(Unknown Source:0)
    at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda5.run(Unknown Source:24)
    at java.lang.Thread.run(Thread.java:929)
Applied 2 patches
Compiling patched dex files

Solution

No response

Additional context

No response

Acknowledgements

Sam101011 commented 6 months ago

Idk if it matters but I did some testing and the last version where this patch works is 439.0.0.29.119