For use case see Alertify Alertify which uses a gotify server for realtime headless alerts
API 23 Android 6 - API 29 Android 10 is supported
Type | Message Type | Type | Message Type |
---|---|---|---|
CMAS | Presidental alert | ETWS | ETWS Tsunami alert |
CMAS | Extreme alert | ETWS | ETWS Earthquake alert |
CMAS | Severe alert | ETWS | ETWS Earthquake & Tsunami alert |
CMAS | Amber / Child Abduction alert | ETWS | ETWS Other Message |
CMAS | Public Safety alert | ETWS | ETWS Test Message |
CMAS | Required Monthly Test | ||
CMAS | Local/State Test | ||
CMAS | Broadcast Operator alert | ||
CMAS | Critical alert |
See Example Messages Images
Download the apk or build via Android studio.
By default Android does not allow apps to dispay over other apps
Here is one way to disable battery optimization for Gotify.
- Open "Settings"
- Search for "Apps"
- Find "PaniK" and select Advanced
- Allow Display over other apps
Execute the following command to build the apk.
$ ./gradlew build
- Run
./gradlew generateSwaggerCode
- Discard changes to
client/build.gradle
(newer versions of dependencies) - Fix compile error in
client/src/main/java/com/github/gotify/client/auth/OAuthOkHttpClient.java
(caused by an updated dependency) - Delete
client/settings.gradle
(client is a gradle sub project and must not have a settings.gradle) - Commit changes