Skip to content

feat: implement remote-controlled Play Store announcement dialog#1176

Merged
theovilardo merged 1 commit intomasterfrom
play-store-set
Feb 21, 2026
Merged

feat: implement remote-controlled Play Store announcement dialog#1176
theovilardo merged 1 commit intomasterfrom
play-store-set

Conversation

@theovilardo
Copy link
Copy Markdown
Owner

  • Remote Config:
    • Add remote-config/app-announcements.properties to manage Play Store announcement visibility, URLs, and localized copy via GitHub.
  • Data:
    • Implement GitHubAnnouncementPropertiesService to fetch and parse the remote properties file.
    • Define PlayStoreAnnouncementRemoteConfig and PlayStoreAnnouncementUiModel to handle remote and UI state.
  • UI & Components:
    • Create PlayStoreAnnouncementDialog using Material 3 BasicAlertDialog with a custom expressive design, including gradient backgrounds and smooth corner shapes.
    • Support dynamic action labels and a "link pending" state for when the store URL is not yet available.
  • Integration:
    • Update MainActivity to fetch the announcement configuration on launch.
    • Add logic to display the dialog based on the remote enabled flag.
    • Implement openExternalUrl helper to handle Play Store navigation.

- **Remote Config**:
    - Add `remote-config/app-announcements.properties` to manage Play Store announcement visibility, URLs, and localized copy via GitHub.
- **Data**:
    - Implement `GitHubAnnouncementPropertiesService` to fetch and parse the remote properties file.
    - Define `PlayStoreAnnouncementRemoteConfig` and `PlayStoreAnnouncementUiModel` to handle remote and UI state.
- **UI & Components**:
    - Create `PlayStoreAnnouncementDialog` using Material 3 `BasicAlertDialog` with a custom expressive design, including gradient backgrounds and smooth corner shapes.
    - Support dynamic action labels and a "link pending" state for when the store URL is not yet available.
- **Integration**:
    - Update `MainActivity` to fetch the announcement configuration on launch.
    - Add logic to display the dialog based on the remote `enabled` flag.
    - Implement `openExternalUrl` helper to handle Play Store navigation.
@theovilardo theovilardo merged commit 127e25c into master Feb 21, 2026
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