marzika / Snapprefs

A project which offer enhanced features for Snapchat throught the Xposed Framework.
GNU General Public License v3.0
273 stars 82 forks source link

Faster obfuscation updates to match SC? #36

Open dkisselev opened 9 years ago

dkisselev commented 9 years ago

I noticed that you've had the next set of obfuscation fixes in the repository for around a week now, but haven't updated the module APK so a lot of features don't work for those that has snapprefs installed even if the fixes have been made.

Is there a potential alternative method of handling the obfuscation strings so that they can be released/integrated into the app quicker?

Perhaps an online source (doesn't even have to be an API, toss json files onto github pages and tell the app to check the repo daily) with string names and known-blacklisted features for every supported version of SC, that way you can release those outside of the app lifecycle for faster updates and if a certain snapchat change turns out to crash snapprefs, you have a way of remotely disabling that feature so it keeps working.

I'm not sure if xposed will work with dynamic strings as hook class/method names, but just an idea.

XspeedPL commented 8 years ago

I think it's actually a decent idea. It should work, as hooking takes place when SC package is loaded, long after system's. Database could be updated and stored in Snapprefs anyway.

quorn23 commented 8 years ago

https://github.com/iHelp101/XInsta

The Xinsta (Xposed Instagram module) uses a hook method. Maybe this helps to get an idea how to implement such function.

marzika commented 8 years ago

We will work on implementing it, putting it here just a reminder:

JaKrIvMa commented 7 years ago

When faster obfuscation is implemented, is it then possible to have all versions of the previous supported snapschat versions listed and then the user could choose the version he/she is using?

Maybe make the hook updater automated at the end so it will automatically create the newest hooks to the newest version of the snapschat.