Add documentation for purchases to the readme

This commit is contained in:
Jonas Lochmann 2020-01-13 00:00:00 +00:00
parent 6ec8d25d78
commit e68ca95320
No known key found for this signature in database
GPG key ID: 8B8C9AEE10FA5B36

View file

@ -116,3 +116,12 @@ This allows to:
- see the counter for the websocket connections
- set a status message which is shown at all linked clients at the overview screen
- unlock the premium version feature for a user for a month or a year
## Purchases
To enable the automated purchase feature, set the ``GOOGLE_PLAY_PUBLIC_KEY`` environment variable.
The value for the official builds which are distributed using the Play Store can
be found at <https://codeberg.org/timelimit/timelimit-android/src/commit/3da677877f4dde0b1b01523daae33745f14e08ac/app/build.gradle#L49>.
Additionally, there is the admin API which allows one to unlock the
premium features.