Forum Discussion

ashishMaz's avatar
ashishMaz
Visitor
7 years ago

Billing usage was specified during channel publishing but was not found in BrightScript code

I am getting this error in static analysis while publishing app.
"Billing usage was specified during channel publishing but was not found in BrightScript code."
I have added billing code in my Home Scene.
Please help.

16 Replies

  • kjlake's avatar
    kjlake
    Channel Surfer
    I, too, am having the same issue.  Can anyone recommend a solution?

    Thanks.
  • 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.

     
    • ibliskavka's avatar
      ibliskavka
      Channel 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.

      • renojim's avatar
        renojim
        Community 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
    • sandeepthakur's avatar
      sandeepthakur
      Binge Watcher

      I am also getting same error. Can someone tell me how  can I resolve this error,