In the sample application, User can roll feature and the properties remotely using Liveupdate Feature of MobileFirst Foundation
-
From a command-line window, navigate to the project's root folder and run the following commands:
ionic cordova platform add ios
orionic cordova platform add android
- to add a platform.mfpdev app register
- to register the application.mfpdev app push
- to add theliveupdate.mobileclient
scope in scope elements mappings section of security.
-
Add Liveupdate Features & Properties as shown below in MobileFirst Operations Console → [your application] → Liveupdate Settings → Schema.
- Run the application in an Android Emulator, iOS Simulator, Browser or physical device with the following command.
ionic cordova run ios
orionic cordova run android
- to run the application.
In MobileFirst Operations Console → [your application] → Live Update Settings → Schema tab
click on the Edit icon of festivalShopping feature under Features section and Change the default value to On or Off* to enable/disable the feature remotely.
- Click the Edit icon of buttonLabel under Properties section and change the value to update the feature properties remotely.
Ionic 5.1.0
IBM MobileFirst Foundation 8.0
Copyright 2020 IBM Corp.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.s