From 45389bf8844181e89530f241bafffda37698f00e Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Mon, 29 Nov 2021 15:28:05 -0500 Subject: [PATCH] Gitignore --- .gitignore | 6 ++++++ README.md | 8 ++++++++ TESTING.md | 17 +++++++++++++++++ app/.gitignore | 1 - 4 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 TESTING.md delete mode 100644 app/.gitignore diff --git a/.gitignore b/.gitignore index 089390a..f9be915 100644 --- a/.gitignore +++ b/.gitignore @@ -31,7 +31,13 @@ gen/ # Ignore gradle files .gradle/ + +# Build outputs build/ +app/fdroid/release/ +app/fdroid/debug/ +app/play/release/ +app/play/debug/ # Local configuration file (sdk path, etc) local.properties diff --git a/README.md b/README.md index e603a07..5a9d704 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,11 @@ but I haven't had the time yet. 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: ``` +# 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) @@ -25,7 +29,11 @@ To build your own version with Firebase, you must: * 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: ``` +# To build an unsigned .apk (app/build/outputs/apk/play/*.apk) ./gradlew assemblePlayRelease + +# To build a bundle .aab (app/play/release/*.aab) +./gradlew bundlePlayRelease ``` ## License diff --git a/TESTING.md b/TESTING.md new file mode 100644 index 0000000..c61e4c7 --- /dev/null +++ b/TESTING.md @@ -0,0 +1,17 @@ +# Testing + +## Manual testing steps + +* Upgrade from old version +* Subscribe to topic + * With instant delivery + * With other server +* Main view + * Multi-delete + * Toggle global mute +* Detail view + * Toggle per-topic mute + * Send message while in detail view (should show notification) + * Check if notifications get canceled when sending message + * + diff --git a/app/.gitignore b/app/.gitignore deleted file mode 100644 index 796b96d..0000000 --- a/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build