Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
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. 

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