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

RuStore support #2081

Draft
wants to merge 8 commits into
base: dev
Choose a base branch
from
Draft

RuStore support #2081

wants to merge 8 commits into from

Conversation

PadowYT2
Copy link

@PadowYT2 PadowYT2 commented Jan 20, 2025

Added support for RuStore (based on this gist) and removed obsolete apps. This is my first time developing in Dart, so obvioulsy this doesn't work.

The current error is type 'Null' is not a subtype of type 'String', which I have no idea how to debug and where it is coming from. I appreciate if someone knows Dart could help on this.

An another problem, when getting a download link, it is a zip, which has an apk inside of it named file. The problem is, I have no idea how to implement this unfortunately You can replace .zip with .apk and it would work (mentioned on #2081 (comment))


Closes #1593

@PadowYT2 PadowYT2 changed the base branch from main to dev January 22, 2025 05:19
@arisudesu
Copy link

For some reason, apkUrl can now contain a URL that ends with .zip and gives a ZIP file containing APK, instead of giving APK directly. This may be not supported in Obtainium. For now, replacing .zip extension to .apk in URL reverts RuStore to previous behavior, I don't know for how long it will work though.

@arisudesu
Copy link

Example for ru.sberbankmobile:

$ curl -s -X POST 'https://backapi.rustore.ru/applicationData/download-link' -d '{"appId":"462271","firstInstall":true}' -H 'Content-type: application/json' | jq
{
  "code": "OK",
  "message": "OK",
  "body": {
    "appId": 462271,
    "apkUrl": "https://static.rustore.ru/apk/462271/version/2025010912/66a45791-5384-4940-adb5-bca7b01a3f11.zip",
    "versionCode": 2025010912
  },
  "timestamp": "2025-01-26T19:48:53.588472302+03:00"
}

- Attempt to fix "double download" bug (ImranR98#2073)
- Avoid JSON corruption when storage full (ImranR98#2089)
- Fix error when GitLab repo is in a subgroup (ImranR98#2079)
- Update screenshots in README
@PadowYT2
Copy link
Author

@ImranR98 Any ETA on taking a look at this?

@ImranR98
Copy link
Owner

ImranR98 commented Feb 1, 2025

Not at the moment. Will take a look at some point.

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

Successfully merging this pull request may close these issues.

Add Support for RuStore as a Source for App Downloads in Obtainium
3 participants