I see two cases:
1. You want to use the sharing dialog (either with startSharing or via
the user clicking share themselves).
2. You want to supply an API link, like you would an offer iframe.
For case (1), perhaps we could just add another tab to the sharing
dialog that renders the link as a QR code, no API changes necessary.
For case (2), I think extending the offer iframe mechanism to allow
rendering as a QR code would make sense. This could be as simple as an
optional `qr: true` option, which would render the template as a QR code
rather than text.
Re: error reporting in startSharing: are there errors that can happen
for reasons other than incorrect use of the API? If not, I don't think
it makes sense to bother expanding the API surface just to report errors
to a buggy app (as opposed to just logging them to the browser console).
-Ian
Quoting Troy Farrell (2021-01-25 23:57:27)
> --
> You received this message because you are subscribed to the Google
> Groups "Sandstorm Development" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [1]
sandstorm-de...@googlegroups.com.
> To view this discussion on the web visit
> [2]
https://groups.google.com/d/msgid/sandstorm-dev/3fd977d4-2236-4f05-b
> f5b-c57b198e2364n%
40googlegroups.com.
>
> Verweise
>
> 1. mailto:
sandstorm-de...@googlegroups.com
> 2.
https://groups.google.com/d/msgid/sandstorm-dev/3fd977d4-2236-4f05-bf5b-c57b198e2364n%40googlegroups.com?utm_medium=email&utm_source=footer