rokubrightscript

How can I store data/string in Roku TV app?


I want to implement token based login, So I need to store Auth token to verify the login session.

Please provide any solution. TIA


Solution

  • Check out this API

    https://developer.roku.com/docs/references/brightscript/interfaces/ifregistrysection.md

    You should use it inside Task-node nowadays, so it will get asynchronous. You can store any serialized data with your key in your section. It doesn't collide with other apps, since you are using your own Dev Key.