App Store
Your app can be published to someone else's app store, or you can develop your own app mall, or simply place it directly on your app's official website for users to download the app by directly accessing the official website.
How to create download links
First, your application will be packaged into two files as follows:
bundle
├── xxxxx.dweb.zip
└── metadata.json
Then you need to upload it to your app's official website (app store).
Assume I upload it to the root directory of my app's official website:
├── https://dweb.browser.org/xxxxx.dweb.zip
└── https://dweb.browser.org/metadata.json
Then the download button code on my app's official website only needs:
<a href="dweb:install?url=https://dweb.browser.org/metadata.json"
>Click to Download</a
>
Establishing download channels only needs to follow one principle - use the dweb:install?url=
this kind of deeplink
form to build download links.
This way, users only need to click this (link) button in the Dweb Browser app to jump to the download page.
Use QR code
You can also simply put a QR code on your official website to facilitate users who have installed the Dweb Browser app to use the scanning function that supports deep_link
to jump to download.
You only need to generate a QR code with an address similar to the one below. After the user scans, they will jump to the interface for downloading the app.
dweb://install?url=https://dweb.browser.org/metadata.json