Skip to content

Add the APKCube source - #3482

Open
evozi-team wants to merge 1 commit into
ImranR98:devfrom
evozi-team:dev
Open

evozi-team wants to merge 1 commit into
ImranR98:devfrom
evozi-team:dev

Conversation

@evozi-team

Copy link
Copy Markdown

Add an APKCube source for apkcube.com/<slug>/<package> URLs. The API key goes in Settings > Source-specific, and the field rejects malformed keys. Update checks use the free availability endpoint, batched through prefetchUpdateInfo (up to 100 apps per request) and cached for 5 minutes.

When the last X-Credits-Remaining value covers it plus a download, the paid /versions call runs once per new versionCode. It supplies per-build arch and format assets, the changelog, and the size. Assets are stored as opaque apkcube:<package>:<versionCode>[:<apkId>] markers, and generalReqPrefetchModifier swaps a marker for a signed URL only when a download starts, so opening an app page never spends credits. The app page now shows a stored apkSizeBytes instead of probing for it.

Add an APKCube source for apkcube.com/<slug>/<package> URLs. The API key
goes in Settings > Source-specific, and the field rejects malformed keys.
Update checks use the free availability endpoint, batched through
prefetchUpdateInfo (up to 100 apps per request) and cached for 5 minutes.

When the last X-Credits-Remaining value covers it plus a download, the
paid /versions call runs once per new versionCode. It supplies per-build
arch and format assets, the changelog, and the size. Assets are stored as
opaque apkcube:<package>:<versionCode>[:<apkId>] markers, and
generalReqPrefetchModifier swaps a marker for a signed URL only when a
download starts, so opening an app page never spends credits. The app
page now shows a stored apkSizeBytes instead of probing for it.
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.

1 participant