Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
casolorz
Roku Guru

Any way to give the channel store extra info using ECP for when the channel launches from the store?

I'm launching the installer like this:

 

curl -v -X POST "http://192.168.86.57:8060/launch/11?contentId=myChannelID"

 

 

Is there any way with this that I can tell it special params my own channel accepts on launch? I used to do it with the /install/myChannelID command but it doesn't seem to work anymore. 

Tags (1)
0 Kudos
4 REPLIES 4
RokuBen
Community Moderator
Community Moderator

Re: Any way to give the channel store extra info using ECP for when the channel launches from the st

Just add more parameters after the 'contentID=mychannelID' and they'll be visible as launch parameters in your channel startup code.  See https://developer.roku.com/docs/developer-program/discovery/implementing-deep-linking.md#using-ecp-c... for a guide.

0 Kudos
casolorz
Roku Guru

Re: Any way to give the channel store extra info using ECP for when the channel launches from the st

That works well when launching my app. But if launching the app store with my app as contentID then it doesn't seem to pass those once the user opens the app from the store. 

0 Kudos
RokuBen
Community Moderator
Community Moderator

Re: Any way to give the channel store extra info using ECP for when the channel launches from the st

No, there's no way to customize the parameters the app gets when being launched from channel store.

0 Kudos
casolorz
Roku Guru

Re: Any way to give the channel store extra info using ECP for when the channel launches from the st

That's too bad, back when /install/myChannelID worked, you could pass stuff. 

0 Kudos
Community is Being Upgraded!

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. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!