You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Let's look at a random patch:
{ "name": "return-youtube-dislike", "description": "Shows the dislike count of videos using the Return YouTube Dislike API.", "version": "0.0.1", "excluded": false, "options": [], "dependencies": [ "integrations", "video-id-hook", "return-youtube-dislike-resource-patch", "player-type-hook" ], "compatiblePackages": [ { "name": "com.google.android.youtube", "versions": ["18.15.40"] } ] }This patch is only compatible with YouTube 18.15.40. Not only that, but it's specifically only compatible with entry 18.05.40 APK 24bb.
Considering how specific the version targeting is, I think it would make sense to add a hash to the version number. More specifically, an IPFS hash.
For example, YouTube 18.05.40's IPFS hash is
bafybeib5chooi5uegronxjjz52b7zb2hyofq5wpewic5lofqt7j77s4e5m.{ "name": "return-youtube-dislike", "description": "Shows the dislike count of videos using the Return YouTube Dislike API.", "version": "0.0.1", "excluded": false, "options": [], "dependencies": [ "integrations", "video-id-hook", "return-youtube-dislike-resource-patch", "player-type-hook" ], "compatiblePackages": [ { "name": "com.google.android.youtube", "versions": [ { "number": "18.15.40", "ipfs": "bafybeib5chooi5uegronxjjz52b7zb2hyofq5wpewic5lofqt7j77s4e5m" } ] } ] }This can allow clients to verify the integrity of a selected APK and to show an error message if the wrong APK with the correct version was selected.
Reddit thread: https://www.reddit.com/r/revancedapp/comments/132l06i
Beta Was this translation helpful? Give feedback.
All reactions