To build a Roku app, your Bash profile (
.bashrc for Linux, 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.
50000when testing against a local HTTP server. Note that the default port is
54322and covers this use case.
50000or less when testing against an Amazon S3 server.
80when 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
If you’re not sure which shell you’re using, you can check with this query from a terminal window.
Do the following steps:
Open a new terminal window or update your current shell with the changes:
source ~/.zshenv, or
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.