Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help setting up checking Revanced-And-Revanced-Extended-Non-Root/releases #2036

Open
bagarwa opened this issue Dec 13, 2024 · 3 comments

Comments

@bagarwa
Copy link

bagarwa commented Dec 13, 2024

I trying to keep tabs on two apks from this repo - Revanced-And-Revanced-Extended-Non-Root.

  1. reddit-revanced-extended.apk
  2. tiktok-beta-revanced.apk

For those, I have the following configuration -

        {
            "id": "com.reddit.frontpage",
            "url": "https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root",
            "author": "FiorenMas",
            "name": "Reddit",
            "installedVersion": "all",
            "latestVersion": "all",
            "apkUrls": "[[\"reddit-revanced-extended.apk\",\"https://api.github.com/repos/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/assets/207509554\"]]",
            "preferredApkIndex": 0,
            "additionalSettings": "{\"includePrereleases\":false,\"fallbackToOlderReleases\":false,\"filterReleaseTitlesByRegEx\":\"\",\"filterReleaseNotesByRegEx\":\"\",\"verifyLatestTag\":false,\"dontSortReleasesList\":false,\"useLatestAssetDateAsReleaseDate\":true,\"releaseTitleAsVersion\":false,\"trackOnly\":false,\"versionExtractionRegEx\":\"\",\"matchGroupToUse\":\"\",\"versionDetection\":false,\"releaseDateAsVersion\":false,\"useVersionCodeAsOSVersion\":false,\"apkFilterRegEx\":\"reddit-revanced-extended-\",\"invertAPKFilter\":false,\"autoApkFilterByArch\":true,\"appName\":\"Reddit Beta\",\"shizukuPretendToBeGooglePlay\":false,\"allowInsecure\":false,\"exemptFromBackgroundUpdates\":false,\"skipUpdateNotifications\":false,\"about\":\"revanced and revanced-like versions of Reddit\",\"refreshBeforeDownload\":false}",
            "lastUpdateCheck": 1733601408981903,
            "pinned": false,
            "categories": [],
            "releaseDate": 1733552356000000,
            "changeLog": "\n**Change log** :point_down:\n[Revanced](https://github.com/revanced/revanced-patches/releases)\n[Revanced Extended](https://github.com/inotia00/revanced-patches/releases)\n[Revanced Extended anddea](https://github.com/anddea/revanced-patches/releases)\n[Revanced Extended for Android 6 & 7](https://github.com/kitadai31/revanced-patches-android6-7/releases)\n[Revanced Extended For Android 5:](https://github.com/d4n3436/revanced-patches-android5/releases)\n\n",
            "overrideSource": null,
            "allowIdChange": false
        },

and

        {
            "id": "com.zhiliaoapp.musically",
            "url": "https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root",
            "author": "FiorenMas",
            "name": "TikTok",
            "installedVersion": "all",
            "latestVersion": "all",
            "apkUrls": "[[\"tiktok-beta-revanced.apk\",\"https://api.github.com/repos/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/assets/211714048\"]]",
            "preferredApkIndex": 0,
            "additionalSettings": "{\"includePrereleases\":false,\"fallbackToOlderReleases\":false,\"filterReleaseTitlesByRegEx\":\"\",\"filterReleaseNotesByRegEx\":\"\",\"verifyLatestTag\":false,\"dontSortReleasesList\":false,\"useLatestAssetDateAsReleaseDate\":true,\"releaseTitleAsVersion\":false,\"trackOnly\":false,\"versionExtractionRegEx\":\"\",\"matchGroupToUse\":\"\",\"versionDetection\":false,\"releaseDateAsVersion\":false,\"useVersionCodeAsOSVersion\":false,\"apkFilterRegEx\":\"tiktok-beta-revanced-\",\"invertAPKFilter\":false,\"autoApkFilterByArch\":true,\"appName\":\"TikTok Beta\",\"shizukuPretendToBeGooglePlay\":false,\"allowInsecure\":false,\"exemptFromBackgroundUpdates\":false,\"skipUpdateNotifications\":false,\"about\":\"revanced and revanced-like versions of TikTok\",\"refreshBeforeDownload\":false}",
            "lastUpdateCheck": 1733601508966256,
            "pinned": false,
            "categories": [],
            "releaseDate": 1733552356000000,
            "changeLog": "\n**Change log** :point_down:\n[Revanced](https://github.com/revanced/revanced-patches/releases)\n[Revanced Extended](https://github.com/inotia00/revanced-patches/releases)\n[Revanced Extended anddea](https://github.com/anddea/revanced-patches/releases)\n[Revanced Extended for Android 6 & 7](https://github.com/kitadai31/revanced-patches-android6-7/releases)\n[Revanced Extended For Android 5:](https://github.com/d4n3436/revanced-patches-android5/releases)\n\n",
            "overrideSource": null,
            "allowIdChange": false
        }

(Removed the "otherAssetUrls" part from the above paste, as it was too long.)

But whenever Obtainium refreshes, it throws error saying

Could not find a suitable release [TikTok Beta and Reddit Beta]

Obtanium

Is there something wrong my configuration for these two assets?

@DarkCrypt
Copy link

Both configs will work if you delete the end - within the APK filter.

@bagarwa
Copy link
Author

bagarwa commented Dec 14, 2024

Both configs will work if you delete the end - within the APK filter.

Huh! I thought I had already tried that; but maybe not.
Anyway, there's still an issue where Obtainium is not detecting the newer apk upload, because of the way that's done in that repo.

The overall "release" date is not changing there, which is still showing as "Jun 1, 2023".
But looks like each of the apk assets still get replaced in it. For example, reddit-revanced-extended.apk was last updated "last month" and tiktok-beta-revanced.apk was last updated "5 hours ago". Neither of these apk assets have any version number or timestamp explicitly in their names. So, even though I had last installed tiktok-beta-revanced.apk a month ago, Obtainium says I have the latest version installed.

Is there any configuration in Obtainium to check the last upload time of individual assets in a release, compare that to installed asset and flag an update that way? (I already do have "Use latest asset upload as release date" enabled.)

@ImranR98
Copy link
Owner

There is a toggle to use the release date as the versiom string. Of course this means you wouldn't have the real version number so it won't try to detect the OS installed version (read the Wiki for details on this). It shouldn't be a problem most of the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants