Skip to content

Rating model implementation for third-party stores - #680

Open
ashb155 wants to merge 4 commits into
scribe-org:mainfrom
ashb155:rating-model
Open

Rating model implementation for third-party stores#680
ashb155 wants to merge 4 commits into
scribe-org:mainfrom
ashb155:rating-model

Conversation

@ashb155

@ashb155 ashb155 commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Contributor checklist


Description

This PR expands the "Rate Us" functionality on the About Page by dynamically detecting the installation source (added PackageManager.getInstallSourceInfo method for Android 11+ along with existing getInstallerPackageName()) and rendering a contextual subtitle and intent link (Google Play, F-Droid, Amazon, and Galaxy Store).
Previously, the rating item only showed a generic "Rate Scribe" and lacked support for alternative app stores like Amazon and Samsung. Now, it accurately reflects where the user downloaded the app and routes them there directly.

The external store URLs are constructed dynamically using the app's package name (e.g., https://f-droid.org/packages/${context.packageName}, https://www.amazon.com/gp/mas/dl/android?p=${context.packageName}) as dummy links, which can be modified later as required.

For other third party stores, we default to Google Play Store, which again, can be modified as required.

Related issue

@ashb155
ashb155 requested a review from andrewtavis August 21, 2026 17:54
@andrewtavis andrewtavis added the -next release- Included in the next release label Aug 21, 2026
@andrewtavis

Copy link
Copy Markdown
Member

Thanks so much for this, @ashb155! We'll try to review it soon :)

@angrezichatterbox angrezichatterbox left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @ashb155
Thanks for the PR.

https://github.com/ashb155/Scribe-Android/blob/f132f103d571cc0780d4b339c43976e2a92eb1c8/app/src/main/java/be/scri/helpers/ui/RatingHelper.kt#L83-L95

Instead of the inbuild review flow fail leading to a toast could the user be instead be redirected to the playstore page. This would be better for the user experience.

@ashb155

ashb155 commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator Author

will work on this @angrezichatterbox!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

-next release- Included in the next release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants