plebbit / plebbit-react

A GUI for plebbit
https://plebbitapp.eth.limo
GNU General Public License v2.0
35 stars 6 forks source link

Opening plebbit links should be opened in app, not browser #247

Open Rinse12 opened 1 year ago

Rinse12 commented 1 year ago

A user clicking on any of the following links should be redirected to the app, instead of the browser:

estebanabaroa commented 1 year ago

A user clicking on any of the following links should be redirected to the app, instead of the browser:

* https://plebbitdemo.eth.limo/

* https://plebbitapp.eth.limo/

* https://plebbitpreviewer.xyz

Im not sure how to do that on android, we'd have to research. I guess it's a list of sites you add to one of the config file.

doxometrist commented 1 year ago

there's a functionality like this in expo, here the setup is diff, but could be along these lines https://docs.expo.dev/guides/deep-linking/#deep-links-on-android in public/.well-known/assetlinks.json

[ { "relation": ["delegate_permission/common.handle_all_urls"], "target": { "namespace": "android_app", "package_name": "{package_name}", "sha256_cert_fingerprints": [ // Supports multiple fingerprints for different apps and keys "{sha256_cert_fingerprints}" ] } } ]