Skin allows for you to customize look and feel of your mobile application depending on the specific events. Skin is json format data including logo image, background color, text color and many more, which to set look and feel of your mobile application. As a default, you can configure your default skin in the CloudPayments portal. If you want to change default look and feel of your mobile application due to Christmas, Summer theme, or certain promotion etc., you can do it without modifying and release of new mobile application. In addition to default skin, you can add multiple customized skin data based on your marketing purpose; for example, unique brand specific look and feel. You can set skin data along with even trigger information. When event triggered, you can update look and feel of your mobile application.
Skin is configured in CloudPayments portal and you can obtain this data by using CloudPayments Service API. For the default skin, when the End User launch your application, you can retrieve all available skin data and update default look and feel of your mobile application.
The consumer application retrieves the default skin and event triggered skin data set by the administrator. You can call this API during splash screen presented so you can apply default skin immediately before user enters into the homescreen of your mobile application. Event triggered skin has its type of events and events detail for you to monitor. It is recommend to call this API at every launch and resume. Skin change is not notified as a push so you should have the logic to determine if the skin data is changed. Each skin has last update timestamp so that you can compare the value with stored value in your cache. If timestamp is changed or if new skin is detected, you can retrieve only the updated skin json data.
The main APIs used in the use case are the following:
The consumer application may retrieve json format skin data right after retrieval of skin event or when event is occurred, whichever works with your use case. However, the former is recommended. If you retrieved and cached skin data in advance, you can immediately change look and feel of your application when the event is occurred.
The main APIs used in the use case are the following:
© 2018. All rights reserved. (Last updated: 2018-11-13)