From 1ab9b30b852bae8d9ef935e31b6f1099cc529752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=E2=80=99Aquino?= Date: Mon, 17 Feb 2025 14:19:20 -0800 Subject: [PATCH] Add development and testing tips MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These were included to help other developers with testing or development. Signed-off-by: Daniel D’Aquino --- docs/DEV_TIPS.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docs/DEV_TIPS.md diff --git a/docs/DEV_TIPS.md b/docs/DEV_TIPS.md new file mode 100644 index 00000000..15acd690 --- /dev/null +++ b/docs/DEV_TIPS.md @@ -0,0 +1,16 @@ +# Dev tips + +A collection of tips when developing or testing Damus. + + +## Logging + +- Info and debug messages must be activated in the macOS Console to become visible, they are not visible by default. To activate, go to Console > Action > Include Info Messages. + + +## Testing push notifications + +- Dev builds (i.e. anything that isn't an official build from TestFlight or AppStore) only work with the development/sandbox APNS environment. If testing push notifications on a local damus build, ensure that: + - Damus is configured to use the "staging" push notifications environment, under Settings > Developer settings. + - Ensure that Nostr events are sent to `wss://notify-staging.damus.io`. +