Skip to content

Commit

Permalink
deeplink [nfc]: Add documentation to manually test deep link.
Browse files Browse the repository at this point in the history
- In this commit, instructions are only provided for android.
  • Loading branch information
AkashDhiman committed Jun 3, 2021
1 parent 9049529 commit d787626
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/howto/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,18 @@ find something in its docs, it's worth
[flow-typed]: https://github.com/flowtype/flow-typed
[flow-issues]: https://github.com/facebook/flow/issues?q=is%3Aissue
[flow-cheat-sheet]: https://www.saltycrane.com/flow-type-cheat-sheet/latest/

## Manual Testing

### Deep Link

Testing deep link url is much more productive when one uses cli instead of going to the browser and typing the link.

#### Android

To send a deeplink event to android (debug build) use the following:
```bash
adb shell am start -W -a android.intent.action.VIEW -d "zulip://test.realm.com/[email protected]#narrow/valid-narrow" com.zulipmobile.debug
```

Make sure to change the domain name, email parameter and narrow as required.

0 comments on commit d787626

Please sign in to comment.