Forum Discussion
ashishMaz
7 years agoVisitor
Submit your app with this error and Roku store will accept it. You don't need to do anything.
Sometimes Roku AI does not work to verify Brighscript.
Sometimes Roku AI does not work to verify Brighscript.
ibliskavka
6 years agoChannel Surfer
This does not seam to work anymore. Schedule publishing is greyed out.
I am using ChannelStore to query subscription status and submit an order but the static analysis tool is not picking it up.
- renojim6 years agoCommunity Streaming Expert
When you query roChannelStore and wait for the response, check the type of the returned message. I have this in my code, so I must have dealt with this before.
while true msg = wait(0,port) print type(msg) if msg <> invalid and type(msg) = "roChannelStoreEvent" then ' check for type is just to pass Static Analysis ... end while- ibliskavka6 years agoChannel Surfer
Simply adding that check did not pass static analysis.
I am not using the roChannelStore object, I am only using the <ChannelStore/> component.
Does static analysis only support roChannelStore?- ibliskavka6 years agoChannel Surfer
RESOLVED!
I found the solution in the scenegraph-master-sample repo/Subscriptions repo.' to handle Roku Pay we need to create channelStore object in the global node m.global.AddField("channelStore", "node", false) m.global.channelStore = CreateObject("roSGNode", "ChannelStore")I was using a <ChannelStore> element in the XML.