Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
taylorcw
Level 7

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
0 Kudos
3 Replies
destruk
Level 10

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.
0 Kudos
taylorcw
Level 7

Re: roSearchHistory replacement?

Thats not really an option for my channel. Any recommendations for local?
0 Kudos
destruk
Level 10

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.
0 Kudos