The mfpclient.properties file defines the properties that your native app for Android requires to use the MobileFirst native API for Android.
The mfpclient.properties file is created when you register your Android app on the MobileFirst Development Server (see Registering Android applications to MobileFirst Server). If you register your using the IBM MobileFirst Platform Operations Console you must create the file manually and place it within your Android Studio project.
| Property | Description | Example values |
|---|---|---|
| wlServerProtocol | The communication protocol with the MobileFirst Server. | http or https |
| wlServerHost | The host name of the MobileFirst Server. | 192.168.1.63 If the MobileFirst Server host has an IPV6 address, then use the mapped host name instead of providing the raw IP address. This is a known limitation. |
| wlServerPort | The port of the MobileFirst Server. | 9080 |
| wlServerContext | The server context. This value can be seen in the MobileFirst Operations Console dashboard. It is the value of the app's runtime. By default the values is /mfp/. | /mfp/ |
| wlPlatformVersion | The MobileFirst version | 8.0.20160214 |
| languagePreferences | Preferred language. | en |
wlServerProtocol=http
wlServerHost=9.148.49.221
wlServerPort=9080
wlServerContext=/mfp/
wlPlatformVersion=8.0.20160214
languagePreferences=en