EthanArbuckle / Apollo-CustomApiCredentials

Tweak to use your own reddit API credentials in Apollo
GNU General Public License v3.0
767 stars 139 forks source link

Logs out every time app is closed #15

Closed scratchyone closed 1 year ago

scratchyone commented 1 year ago

I patched an Apollo IPA with this tweak using theos-jailed, and while it works great, it seems to log out every time the app is restarted. Any ideas why this may be?

nicko88 commented 1 year ago

I sideloaded with a dev account with sideloadly with a new bundle ID and mine does this too if I fully close the app and re-open.

scratchyone commented 1 year ago

Hmm, I just tried it with the standard Apollo com.christianselig.Apollo bundle ID and it has the same issue.

AuroraWright commented 1 year ago

You can fix it by injecting this https://sideloadly.io/SideloadSpoofer-08.dylib and using a different bundle ID than the stock one, but it would be nice to have an open source alternative because it shows a popup every time you restart the app and it being closed source isn't great.

Rihcus commented 1 year ago

https://github.com/EthanArbuckle/Apollo-CustomApiCredentials/issues/3#issuecomment-1599651447

ochompsky commented 1 year ago

You can fix it by injecting this https://sideloadly.io/SideloadSpoofer-08.dylib and using a different bundle ID than the stock one, but it would be nice to have an open source alternative because it shows a popup every time you restart the app and it being closed source isn't great.

i assume this requires a JB? my app crashes immediately on boot when i try to inject

AuroraWright commented 1 year ago

You can fix it by injecting this https://sideloadly.io/SideloadSpoofer-08.dylib and using a different bundle ID than the stock one, but it would be nice to have an open source alternative because it shows a popup every time you restart the app and it being closed source isn't great.

i assume this requires a JB? my app crashes immediately on boot when i try to inject

No, no jb

scratchyone commented 1 year ago

You can fix it by injecting this https://sideloadly.io/SideloadSpoofer-08.dylib and using a different bundle ID than the stock one, but it would be nice to have an open source alternative because it shows a popup every time you restart the app and it being closed source isn't great.

Thanks for suggesting this, it solves the problem! I also found https://github.com/level3tjg/RedditSideloadFix/releases/tag/1, which is actually meant to fix sideloading for the official reddit app, but seems to also fix the logging out issue on Apollo in my testing, and it's open source and doesn't show any prompt. I'd love if anyone else could confirm if this works for them as well?

EthanArbuckle commented 1 year ago

When sideloading, its necessary to change Apollo's bundle ID. Otherwise, information stored in the keychain will not persist across app launches.

I'll see if I can workaround this in the tweak

asdfzxcvbn commented 1 year ago

You can fix it by injecting this https://sideloadly.io/SideloadSpoofer-08.dylib and using a different bundle ID than the stock one, but it would be nice to have an open source alternative because it shows a popup every time you restart the app and it being closed source isn't great.

Thanks for suggesting this, it solves the problem! I also found https://github.com/level3tjg/RedditSideloadFix/releases/tag/1, which is actually meant to fix sideloading for the official reddit app, but seems to also fix the logging out issue on Apollo in my testing, and it's open source and doesn't show any prompt. I'd love if anyone else could confirm if this works for them as well?

can confirm this works great! i didnt have to inject sideload spoofer or change the bundle id