Setting up an alternative host for mobile apps
Configure a mobile app to connect to a specific alternative host name and port instead of the default host name and port of the instance that you use to build your app.
By default, Pega Platform builds mobile apps with the server URL address that results from the context of the App Studio or Dev Studio session that is open in your browser. An example of a scenario that requires a change to that default behavior is when your development instance is only accessible from an internal company network, while the user-facing part of the system is on the public network. Alternatively, there are separate systems for development and production.- Open your mobile channel:
- In the header of Dev Studio, click the name of the application, and then click Channels and interfaces.
- In the Current channel interfaces section, click the tile that represents a mobile channel for your app.
- On the mobile channel page, on the Configuration tab, click the Hosting category.
- In the Hosting section, select the Override default host check box.
- In the Alternative host field, enter the host name that you want to use.
- In the Port field, enter the port for the alternative host URL.
- Click Save.
Previous topic Selecting a specific client version Next topic Troubleshooting mobile apps