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>
This commit is contained in:
Daniel D’Aquino
2025-02-17 14:19:20 -08:00
parent 81cf6ad297
commit 1ab9b30b85

16
docs/DEV_TIPS.md Normal file
View File

@@ -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`.