taylorcw
Streaming Star

roSearchHistory replacement?

I've been using roSearchHistory component to save searches for users. Moving forward with SG, this will be deprecated. What's the recommended path forward to store search keywords? Storing in a registry variable maybe? Registry data storage is limited, so not sure if this is a viable solution.

Thanks
Tags (1)
0 Kudos
3 REPLIES 3
destruk
Streaming Star

Re: roSearchHistory replacement?

Saving the search terms to the server would be what Netflix does.  That way for multiple rokus and other devices each user account has their own search history available.
Tags (1)
0 Kudos
taylorcw
Streaming Star

Re: roSearchHistory replacement?

Thats not really an option for my channel. Any recommendations for local?
Tags (1)
0 Kudos
destruk
Streaming Star

Re: roSearchHistory replacement?

The only way to store data locally on Roku's devices is to use the registry.  That is your only option.  If you find you are running out of space then you will need to delete some of the search history.  IMO storing a couple hundred single words should not take up all of the 16 KB of space available for your developer ID for a single channel, but if you sign multiple channels with the same developer ID it could become an issue.
Tags (1)
0 Kudos
Community is Temporarily in Read-Only Mode!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

Thanks for your patience — we’re excited to share what’s next!