Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gotify/android
An app for creating push notifications for new messages posted to gotify/server.
https://github.com/gotify/android
android fdroid gotify java playstore push-notifications
Last synced: 4 days ago
JSON representation
An app for creating push notifications for new messages posted to gotify/server.
- Host: GitHub
- URL: https://github.com/gotify/android
- Owner: gotify
- License: mit
- Created: 2018-02-14T18:49:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-27T09:50:20.000Z (17 days ago)
- Last Synced: 2024-10-27T11:04:10.361Z (17 days ago)
- Topics: android, fdroid, gotify, java, playstore, push-notifications
- Language: Kotlin
- Homepage:
- Size: 4.96 MB
- Stars: 955
- Watchers: 20
- Forks: 155
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Gotify Android [![Build Status][github-action-badge]][github-action] [![FOSSA Status][fossa-badge]][fossa] [![latest release version][release-badge]][release] [![F-Droid][fdroid-badge]][fdroid]
Gotify Android connects to [gotify/server](https://github.com/gotify/server) and shows push notifications on new messages.
## Features
* show push notifications on new messages
* view and delete messages## Installation
Download the apk or get the app via F-Droid or Google Play.
[][playstore]
[][fdroid]
[][release]Google Play and the Google Play logo are trademarks of Google LLC.
### Disable battery optimization
By default Android kills long running apps as they drain the battery. With enabled battery optimization, Gotify will be killed and you wont receive any notifications.
Here is one way to disable battery optimization for Gotify.
* Open "Settings"
* Search for "Battery Optimization"
* Find "Gotify" and disable battery optimizationSee also https://dontkillmyapp.com for phone manufacturer specific instructions to disable battery optimizations.
### Minimize the Gotify foreground notification
*Only possible for Android version >= 8*
The foreground notification showing the connection status can be manually minimized to be less intrusive:
* Open Settings -> Apps -> Gotify
* Click Notifications
* Click on `Gotify foreground notification`
* Toggle the "Minimize" option / Select a different "Behavior" or "Importance" (depends on your Android version)
* Restart Gotify## Message Priorities
| Notification | Gotify Priority|
|- |-|
| - | 0 |
| Icon in notification bar | 1 - 3 |
| Icon in notification bar + Sound | 4 - 7 |
| Icon in notification bar + Sound + Vibration | 8 - 10 |## Building
Use Java 17 and execute the following command to build the apk.
```bash
$ ./gradlew build
```## Update client
* Run `./gradlew generateSwaggerCode`
* Delete `client/settings.gradle` (client is a gradle sub project and must not have a settings.gradle)
* Delete `repositories` block from `client/build.gradle`
* Delete `implementation "com.sun.xml.ws:jaxws-rt:x.x.x“` from `client/build.gradle`
* Insert missing bracket in `retryingIntercept` method of class `src/main/java/com/github/gotify/client/auth/OAuth`
* Commit changes## Versioning
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the
[tags on this repository](https://github.com/gotify/android/tags).## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details[github-action-badge]: https://github.com/gotify/android/workflows/Build/badge.svg
[github-action]: https://github.com/gotify/android/actions?query=workflow%3ABuild
[playstore]: https://play.google.com/store/apps/details?id=com.github.gotify
[fdroid-badge]: https://img.shields.io/f-droid/v/com.github.gotify.svg
[fdroid]: https://f-droid.org/de/packages/com.github.gotify/
[fossa-badge]: https://app.fossa.io/api/projects/git%2Bgithub.com%2Fgotify%2Fandroid.svg?type=shield
[fossa]: https://app.fossa.io/projects/git%2Bgithub.com%2Fgotify%2Fandroid
[release-badge]: https://img.shields.io/github/release/gotify/android.svg
[release]: https://github.com/gotify/android/releases/latest