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:
16
docs/DEV_TIPS.md
Normal file
16
docs/DEV_TIPS.md
Normal 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`.
|
||||
|
||||
Reference in New Issue
Block a user