64

GitHub - gotify/android: An app for receiving push notifications on new messages...

 5 years ago
source link: https://github.com/gotify/android
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Gotify Android Build Status FOSSA Status latest release version F-Droid

app.gif

Gotify Android connects to 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.

Get it on Google Play Get it on F-Droid Get it on F-Droid

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 optimization

Minimize the Gotify foreground notification

Only possible for Android version >= 8

The foreground notification with content like Listening to https://push.yourdomain.eu can be manually minimized to be less intrusive:

  • Open Settings -> Apps -> Gotify
  • Click Notifications
  • Click on Gotify foreground notification
  • Select a different "Behavior" or "Importance" (depends on your android version)
  • Restart Gotify

Building

Execute the following command to build the apk.

$ ./gradlew build

Update client

  • 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

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK