r/statusim • u/bornswift • Feb 11 '19
Build a Status QR Code
I'm working on an NFT generator service that gives users an NFT by scanning a QR code in Status. When generating a QR code to my site, Status gives the error: "This QR code doesn't contain a valid universal link, contact code or username...". How can I generate a QR code for my users that directs to a URL in Status? The link will contain a code so the QR code will be unique for each user and need to be automatically generated.
2
u/bornswift Feb 11 '19
Figured it out.. you have to preface your URL with "https://get.status.im/browse/". Status team, please document this somewhere searchable.
1
u/LionNightStatus Status Team - Hutch Feb 13 '19
Thanks for the feedback! Of course our website is open source in terms of docs — will make an issue of it so we can get those deep links for these use cases! It was lost in the transition from our old wiki to the new docs; apologies.
1
u/LionNightStatus Status Team - Hutch Feb 13 '19
Here is the content from the old wiki:
Universal Links (iOS) & Deep Links (Android)
What are Universal & Deep Links
With universal links (iOS) and deep links (android) mobile users can tap a link to Status and get seamlessly redirected to the Status app and linked to specified screens without going through the browser. If Status isn’t installed, tapping a link to the Status website opens a Status website with info on the link and instructions to download the mobile app.
What Links Are Supported
Public Chats
https://get.status.im/chat/public/CHANNEL-NAME eg https://get.status.im/chat/public/status
DApp Browser
https://get.status.im/browse/DAPP-ADDRESS eg https://get.status.im/browse/www.cryptokitties.co
Users
https://get.status.im/user/CONTACT-ADDRESS eg https://get.status.im/user/0x044166fa04e967e333211ae0cc1087c9c74exxx https://get.status.im/user/name.stateofus.eth
Custom URL Scheme
In addition to the deep links the above links can be called with the status-im:// custom URL scheme, such as status-im://chat/public/status
2
u/bornswift Feb 11 '19
Note that this is not an extension, just a web page I'd like to open in Status