Your Digital Media Has Never Looked So Good

 
pbell722
Topic Author
Posts: 1
Joined: Mon Jun 24, 2019 11:24 am

Issue with Deep Link certification in Static Analysis publishing step

Mon Jun 24, 2019 11:28 am

Hello all,

I've been working on publishing a basic web video app for B2B usage - we're currently working on completing the certification steps and can't seem to get rid of the following error message:

Channels are now required to support roInput events. Please opt in to this support with the supports_input_launch=1 manifest entry and properly handle roInput events in your channel.


We've added the required manifest entry, and added what we believe to be proper roInput handling for our channel. We don't have any type of content that could be launched via this type of tool, so we're just throwing out the event (as it doesn't apply to our app). Is there anything else we need to add? Attached is our main.brs.

sub main(args as dynamic)
  m.port = CreateObject("roMessagePort")

  screen = CreateObject("roSGScreen")
  screen.setMessagePort(m.port)

  m.global = screen.getGlobalNode()
  m.global.id = "GlobalNode"

  input = CreateObject("roInput")
  input.setMessagePort(m.port)

  scene = screen.CreateScene("MainScene")
  scene.backExitsScene = false
  m.global.addFields({
    screen: screen
  })
  screen.show()

  while(true)
    msg = wait(0, m.port)
    msgType = type(msg)
    if msgType = "roSpringboardScreenEvent" then
      if msgType = "roSGScreenEvent"
        if msg.isScreenClosed() then return
      end if
    end if
    if msgType = "roInputEvent"
      info = msg.getInfo()
      print info
    end if
  end while
end sub
 
infoman
Posts: 29
Joined: Sun Jan 04, 2009 7:48 pm

Re: Issue with Deep Link certification in Static Analysis publishing step

Wed Jul 24, 2019 10:34 pm

Were you able to get this figured out? I'm in the same situation.
 
infoman
Posts: 29
Joined: Sun Jan 04, 2009 7:48 pm

Re: Issue with Deep Link certification in Static Analysis publishing step

Fri Jul 26, 2019 7:48 pm

FYI, I ended up just copying the inputTask.brs and inputTask.xml file from the deep-Linking-samples and adding supports_input_launch=1 to the manifest. It then passed without any errors.

Who is online

Users browsing this forum: No registered users and 2 guests