AmazeGamez
Reel Rookie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2024
07:55 AM
Any alternative to 8060/install ECP command?
I used to promote my other Roku channels by showing users an ad on my new channel. When users clicked the ad, they were redirected to the Roku channel store to install the new channel using the following BrightScript code:
deviceInfo = CreateObject("roDeviceInfo")
deviceIP = deviceInfo.GetIPAddrs().eth1
url = "http://" + deviceIP + ":8060/install/" + id.ToStr()
request = CreateObject("roUrlTransfer")
request.SetUrl(url.EncodeUri())
request.AsyncPostFromString(url.EncodeUri())
With recent Roku changes, ECP commands are blocked from within a Roku channel, and my self-promotion method no longer works.
I need to promote my new channel inside my old channels to redirect users to the channel store so they can install my app.
Can the ECP install command be used from within the app?
Can I open my channel's channel store from my app?
2 REPLIES 2

Community Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2024
08:43 AM
Re: Any alternative to 8060/install ECP command?
No, ECP from your application to the device is forbidden.
The suggested interface to use is roAppManager.showChannelStoreSpringboard
AmazeGamez
Reel Rookie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025
04:05 AM
Re: Any alternative to 8060/install ECP command?
Is there any other way?