It shows an error with OAuth. It's night so I can't try out compiling by myself (it would take a long time to set up the correct settings + it's a lot of trial and error) but even when patching it up, there's a whole block of errors posting up
I downloaded the new version from above and it is not letting me login, it keeps giving me the error invalid request to oauth API. Is there a reason why and what is the fix for this?
Spoof client failed: app.revanced.patcher.patch.PatchException: Failed to resolve APIUtilsFingerprint
at app.revanced.util.BytecodeUtilsKt.getException(BytecodeUtils.kt:26)
at app.revanced.patches.reddit.customclients.BaseSpoofClientPatch.execute$executePatch(BaseSpoofClientPatch.kt:44)
at app.revanced.patches.reddit.customclients.BaseSpoofClientPatch.execute(BaseSpoofClientPatch.kt:46)
at app.revanced.patches.reddit.customclients.BaseSpoofClientPatch.execute(BaseSpoofClientPatch.kt:11)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:190)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:292)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:93)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:46)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:23)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$34(Unknown Source:470)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$hTJfH-rv2j-9Y91G5H_L5jFDN6U(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda5.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
I'll try logging in again and if there are still problems I'm just gonna go to sleep and wait for a fix. No need to rush dev take your time and appreciate what you're doing.
Edit 1: I tried logging in again and it's the same oauth API error message just like one person who commented below.
I'd like you to know that when I switched back from Android to iOS, instead of trading in I kept my old android phone SOLELY because your app is so superior to the reddit official app in every way I cannot browse reddit on mobile without it. I'm so addicted to reddit I've started to be able to barely contain my disgust enough to start browsing on the official app at work on my new phones and it feels dirty, like I'm cheating on Infinity. I came straight here to this sub as soon as infinity wasn't working this evening and applaud your dedication to the best kept secret in all social media
Any insight into what the actual issue is? Any hope for other patched apps like Sync or Boost to work on thier own eventually (considering they aren't actively developed anymore)?
It looks like what /u/hostilenemy did was simply comment out the line that adds the user-agent header in the HTTP request, so i guess that would also work for fixing other apps, just remove user-agent header from requests and it might work.
The issue is unclear because it's from Reddit itself. What happened was when the user agent had "Android" inside, reddit will redirect all the JSON API requests to an invalid URL.
If Reddit reverses this change, these apps will work again.
View all comments
119
u/Hostilenemy I am the dev May 30 '24 edited May 30 '24
Okay a fix is coming. You can go to GitHub to download the latest version if you don't want to wait. https://github.com/Docile-Alligator/Infinity-For-Reddit/releases/tag/v7.2.3
https://www.reddit.com/r/redditdev/comments/1d3spoc/error_getting_submitted_with_mobile_useragent/
Whatever the change was, it now propagates to all places, not only the user submitted posts.
No worries, a temporary workaround will be available very soon.
Sorry, it's Reddit's fault.