fix(docs): Move building instructions to official docs
This commit is contained in:
parent
57e4c2f9bc
commit
c91521a480
1 changed files with 2 additions and 26 deletions
28
README.md
28
README.md
|
@ -2,32 +2,8 @@
|
||||||
This is the Android app for [ntfy](https://github.com/binwiederhier/ntfy) ([ntfy.sh](https://ntfy.sh)). You can find the app in [F-Droid](https://f-droid.org/packages/io.heckel.ntfy/) or the [Play Store](https://play.google.com/store/apps/details?id=io.heckel.ntfy),
|
This is the Android app for [ntfy](https://github.com/binwiederhier/ntfy) ([ntfy.sh](https://ntfy.sh)). You can find the app in [F-Droid](https://f-droid.org/packages/io.heckel.ntfy/) or 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).
|
or as .apk files on the [releases page](https://github.com/binwiederhier/ntfy-android/releases).
|
||||||
|
|
||||||
# Build
|
## Build
|
||||||
|
For up-to-date building instructions, please see the [official docs](https://docs.ntfy.sh/develop/#android-app).
|
||||||
## Building without Firebase (F-Droid flavor)
|
|
||||||
Without Firebase, you may want to still change the default `app_base_url` in [values.xml](/app/src/main/res/values/values.xml)
|
|
||||||
if you're self-hosting the server. Then run:
|
|
||||||
```
|
|
||||||
# To build an unsigned .apk (app/build/outputs/apk/fdroid/*.apk)
|
|
||||||
./gradlew assembleFdroidRelease
|
|
||||||
|
|
||||||
# To build a bundle .aab (app/fdroid/release/*.aab)
|
|
||||||
./gradlew bundleFdroidRelease
|
|
||||||
```
|
|
||||||
|
|
||||||
## Building with Firebase (FCM, Google Play flavor)
|
|
||||||
To build your own version with Firebase, you must:
|
|
||||||
* Create a Firebase/FCM account
|
|
||||||
* Place your account file at `app/google-services.json`
|
|
||||||
* And change `app_base_url` in [values.xml](/app/src/main/res/values/values.xml)
|
|
||||||
* Then run:
|
|
||||||
```
|
|
||||||
# To build an unsigned .apk (app/build/outputs/apk/play/*.apk)
|
|
||||||
./gradlew assemblePlayRelease
|
|
||||||
|
|
||||||
# To build a bundle .aab (app/play/release/*.aab)
|
|
||||||
./gradlew bundlePlayRelease
|
|
||||||
```
|
|
||||||
|
|
||||||
## Translations
|
## Translations
|
||||||
We're using [Weblate](https://hosted.weblate.org/projects/ntfy/) to translate the ntfy Android app. We'd love your participation.
|
We're using [Weblate](https://hosted.weblate.org/projects/ntfy/) to translate the ntfy Android app. We'd love your participation.
|
||||||
|
|
Loading…
Reference in a new issue