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: 
johnmarsden
Level 7

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
johnmarsden
Level 7

Re: Shared registry data in production apps

Different apps with the same genkey/signature.
0 Kudos
squirreltown
Level 9

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
Level 10

Re: Shared registry data in production apps

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

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
Level 7

Re: Shared registry data in production apps

Thanks for the responses guys 
0 Kudos