commit 1ab9b30b852bae8d9ef935e31b6f1099cc529752 parent 81cf6ad297bff28936df6ccd79fb7d80e227bb83 Author: Daniel D’Aquino <daniel@daquino.me> Date: Mon, 17 Feb 2025 14:19:20 -0800 Add development and testing tips These were included to help other developers with testing or development. Signed-off-by: Daniel D’Aquino <daniel@daquino.me> Diffstat:
A | docs/DEV_TIPS.md | | | 16 | ++++++++++++++++ |
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/docs/DEV_TIPS.md 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`. +