To build a Roku app, your Bash profile (.bashrc
for Linux, or .bash_profile
or .zshenv
for Mac) needs to include the YI_CLOUD_SERVER_PORT
environment variable.
The YI_CLOUD_SERVER_PORT
environment variable contains the port number used for communication between your local app development server and the Roku client.
50000
when testing against a local HTTP server.
Note that the default port is 54322
and covers this use case.50000
or less when testing against an Amazon S3 server.80
when deploying the Release version of the app.If your Mac is running macOS Catalina and you’re using the default shell, you’ll need to set environment variables in ~/.zshenv
.
If you’re not sure which shell you’re using, you can check with this query from a terminal window.
echo ${SHELL}
Do the following steps:
~/.bash_profile
, ~/.zshenv
or ~/.bashrc
).export YI_CLOUD_SERVER_PORT=<port>
Open a new terminal window or update your current shell with the changes:
source ~/.bash_profile
, source ~/.zshenv
, or source ~/.bashrc
.
No results yet. Please begin typing a keyword to search the You.i TV Developer Portal...
Try to search with a different keyword or remove search filters.