For You.i React Native, persistent store is implemented through support for the Facebook React Native AsyncStorage module.
For C++ apps, the Cloud Solution supports synchronizing multiple persistent store objects between the server (app logic) and the Roku client. Some things to keep in mind:
CYIPersistentStore in UserInit() function using:
Each persistent store needs a unique name.
If you use
CYIPersistentStore::Clear to erase data from the persistent store, make sure to use
Otherwise the data remains in the persistent store.
Alternatively, you can use
CYICloud::ICloudInterface::UnregisterPersistentStore to achieve the same effect.
Also, consider the following if you are working with a You.i C++ earlier than Release 5.0
true. If needed, you can troubleshoot using Telnet logs. Also, the file path passed to these operations is ignored by the Cloud Solution. It uses instead data determined when the persistent store is registered.
CYIPersistentStore::Loadclears persistent store data. However, due the way the Cloud Solution handles persistent storage, data is loaded automatically if stores have been registered in
UserInit()and there is no need to call
When the client connects, a message is sent to the server containing persistent store data. This message is logged in Telnet for debugging purposes.
No results yet. Please begin typing a keyword to search the You.i TV Developer Portal...
Try to search with a different keyword or remove search filters.