Check out example codes for "github xdg open postman". It will help you in understanding the concepts better.
Code Example 1
**For Ubuntu 18.04 or 20.4 users.** When a browser sends a command to xdg-open fails by "?" character. Thus, you can [test](https://documenter.getpostman.com/view/631643/JsLs/?version=latest) this in your terminal 1. (This happens) The browser sends a raw request to xdg-open ``` xdg-open postman://app/collections/import/631643-dac5eac9-148d-a32e-b76b-3edee9da28f7-JsLs?referrer=https%3A%2F%2Fdocumenter.getpostman.com%2Fview%2F631643%2FJsLs%2F%3Fversion%3Dlatest&versionTag=latest# ``` 2. (This should happens) xdg-open command doesn't wait "?", then "'\\?" ``` xdg-open postman://app/collections/import/631643-dac5eac9-148d-a32e-b76b-3edee9da28f7-JsLs\?referrer=https%3A%2F%2Fdocumenter.getpostman.com%2Fview%2F631643%2FJsLs%2F%3Fversion%3Dlatest&versionTag=latest#\? ``` I don't know why this works. But it works for me.
Learn ReactJs, React Native from akashmittal.com