Forum Discussion

limebarartist's avatar
limebarartist
Binge Watcher
2 years ago

Generate and display a QR code at runtime

Does anyone have thoughts on how you might generate a QR code at runtime from a URL for display?

3 Replies

  • RokuBen's avatar
    RokuBen
    Community Moderator

    Paramount has published an open-source library for this, see https://github.com/paramount-engineering/QR-Code-generator-brightscript

    However, when using this, make sure you comply with section 2.2 of the certification guidelines (https://developer.roku.com/docs/developer-program/certification/certification.md),


    2.2 Channels that include authentication must complete account sign-ups and sign-ins on the device using On-device authentication. Sign-up and sign-in workflows are prohibited from including external webpages, links to off-device promotional or marketing materials, or utilizing off-device sign-up or sign-in mechanisms such as rendezvous linking.

    Channels must complete upgrades and downgrades on the device using On-device upgrade and downgrade. The upgrade/downgrade workflows are prohibited from including external webpages. 

    • sanity-check's avatar
      sanity-check
      Roku Guru

      RokuBen wrote:

      However, when using this, make sure you comply with section 2.2 of the certification guidelines (https://developer.roku.com/docs/developer-program/certification/certification.md),


      2.2 Channels that include authentication must complete account sign-ups and sign-ins on the device using On-device authentication. Sign-up and sign-in workflows are prohibited from including external webpages, links to off-device promotional or marketing materials, or utilizing off-device sign-up or sign-in mechanisms such as rendezvous linking.

      Channels must complete upgrades and downgrades on the device using On-device upgrade and downgrade. The upgrade/downgrade workflows are prohibited from including external webpages. 


      Unless you're Netflix, or the BBC, or of similar size/influence. Then Roku's rules no longer apply, you can just do what you want.

      Hardly a level playing field, is it.

  • Some channel owners use a QR code edited into their video , example would be donation QR code for a paypal donation. OR or a product QR Code that displayed in a video. However do not use Affiliate links or sales qr codes!