Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
johnmarsden
Visitor

Shared registry data in production apps

I have data being written to registry using roRegistrySection in my apps. There are multiple apps (different names, similar code) in production. It would appear that the registry is being shared in some capacity between the two. It was my understanding that production apps can't read registry written by others. It's reproducible. 

Am I wrong about the sandboxing of production apps?
If not, what could cause these registration overlaps? 
0 Kudos
5 REPLIES 5
johnmarsden
Visitor

Re: Shared registry data in production apps

Different apps with the same genkey/signature.
0 Kudos
squirreltown
Roku Guru

Re: Shared registry data in production apps

"johnmarsden" wrote:
 It was my understanding that production apps can't read registry written by others. It's reproducible. 

Am I wrong about the sandboxing of production apps?

Each dev ID has it's own registry. If you want multiple apps to read the same data, use the same dev ID to pkg. If you don't, use a different ID.
Kinetics Screensavers
0 Kudos
destruk
Streaming Star

Re: Shared registry data in production apps

Alternately you could use different key/section names for each channel using the same devID... 🙂  But then you will run out of space sooner as there is a set total limit of space to use.
0 Kudos
EnTerr
Roku Guru

Re: Shared registry data in production apps

"johnmarsden" wrote:
Different apps with the same genkey/signature.

The registry is unique per "developer ID" (genkey-signature), not per app. That is by design, to allow different apps under the same signer to share registry. Either use different key or different registry section per app. See https://sdkdocs.roku.com/display/sdkdoc/roRegistry
0 Kudos
johnmarsden
Visitor

Re: Shared registry data in production apps

Thanks for the responses guys 
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!