This repository serves as API endpoint of Quarto Connect app’s announcement.
API hosted on GitHub Pages, append path api/[variant]/announcement_v1.json
and it becomes app endpoints.
bannerText {string}
- Title [1] of the announcement banner.dialogTitle {string || null}
- Title of the dialog [2]dialogBody {string || null}
- Body of the dialog [3], supports multilines \n
.startOn {string}
- Announcement only appears after this date, format yyyy-MM-dd HH:mm:ss
(UTC)endOn {string}
- Announcement dissapear after this date, format yyyy-MM-dd HH:mm:ss
(UTC)** Strings are UTF-8 encoded.
announcement_v1.json
in desired variant. e.g api/release
App users will receive the announcement in their app once the update is reflected on GitHub Pages.
The checking is done at function onResume()
of MainActivity.java.