Skip to content

Commit d787626

Browse files
committed
deeplink [nfc]: Add documentation to manually test deep link.
- In this commit, instructions are only provided for android.
1 parent 9049529 commit d787626

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/howto/testing.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,18 @@ find something in its docs, it's worth
169169
[flow-typed]: https://github.com/flowtype/flow-typed
170170
[flow-issues]: https://github.com/facebook/flow/issues?q=is%3Aissue
171171
[flow-cheat-sheet]: https://www.saltycrane.com/flow-type-cheat-sheet/latest/
172+
173+
## Manual Testing
174+
175+
### Deep Link
176+
177+
Testing deep link url is much more productive when one uses cli instead of going to the browser and typing the link.
178+
179+
#### Android
180+
181+
To send a deeplink event to android (debug build) use the following:
182+
```bash
183+
adb shell am start -W -a android.intent.action.VIEW -d "zulip://test.realm.com/[email protected]#narrow/valid-narrow" com.zulipmobile.debug
184+
```
185+
186+
Make sure to change the domain name, email parameter and narrow as required.

0 commit comments

Comments
 (0)