diff options
author | Philipp Heckel <pheckel@datto.com> | 2021-11-24 23:16:48 -0500 |
---|---|---|
committer | Philipp Heckel <pheckel@datto.com> | 2021-11-24 23:16:48 -0500 |
commit | e8b1ba63e836ec31bbf7fab7048ca810984bf9b5 (patch) | |
tree | 7d947fe0d97fd6dd9fde71c209e19d2e3a1a6e5d /README.md | |
parent | b389424cecd9b59da866243106438bcf02404589 (diff) | |
download | ponypush-e8b1ba63e836ec31bbf7fab7048ca810984bf9b5.tar.gz ponypush-e8b1ba63e836ec31bbf7fab7048ca810984bf9b5.tar.bz2 ponypush-e8b1ba63e836ec31bbf7fab7048ca810984bf9b5.zip |
Build instructions
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 25 |
1 files changed, 19 insertions, 6 deletions
@@ -3,17 +3,30 @@ This is the Android app for [ntfy](https://github.com/binwiederhier/ntfy) ([ntfy in the [Play Store](https://play.google.com/store/apps/details?id=io.heckel.ntfy). # Releases -You can find the app in the [Play Store](https://play.google.com/store/apps/details?id=io.heckel.ntfy), or as .apk files on the [releases page](https://github.com/binwiederhier/ntfy-android/releases). +You can find the app in the [Play Store](https://play.google.com/store/apps/details?id=io.heckel.ntfy), +or as .apk files on the [releases page](https://github.com/binwiederhier/ntfy-android/releases). -There is a ticket to create an [F-Droid version](https://github.com/binwiederhier/ntfy/issues/7), but I haven't had the time yet. +There is a ticket to create an [F-Droid version](https://github.com/binwiederhier/ntfy/issues/7), +but I haven't had the time yet. -# Build instructions -(Todo) +# Build -## Building with your own Firebase Cloud Messaging (FCM) account +## Building without Firebase (F-Droid flavor) +Without Firebase, you may want to still change the default `app_base_url` in [strings.xml](https://github.com/binwiederhier/ntfy-android/blob/main/app/src/main/res/values/strings.xml) +if you're self-hosting the server. Then run: +``` +./gradlew assembleFdroidRelease +``` + +## Building with Firebase (FCM, Google Play flavor) To build your own version with Firebase, you must: -* Put your own `google-services.json` file in the [app/ folder](https://github.com/binwiederhier/ntfy-android/tree/main/app) +* Create a Firebase/FCM account +* Place your account file at `app/google-services.json` * And change `app_base_url` in [strings.xml](https://github.com/binwiederhier/ntfy-android/blob/main/app/src/main/res/values/strings.xml) +* Then run: +``` +./gradlew assemblePlayRelease +``` ## License Made with ❤️ by [Philipp C. Heckel](https://heckel.io), distributed under the [Apache License 2.0](LICENSE). |