LG WebOS
This guide is for developers who want to monetize LG WebOS applications with CastarSDK.
Last updated
This guide is for developers who want to monetize LG WebOS applications with CastarSDK.
Last updated
Integrating the CastarSDK into an application is the first step toward earning revenue. Once you've integrated the SDK, you will start seeing devices data and revenue in in 24 hours.
This document will walk you through the steps needed to be taken in order to properly integrate CastarSDK into your application.
Go applications -> -> create your ClientId for WebOS
Click to download now.
(1) Open sdk/service/package.json
and set a correct name attribute, preserve .packet_sdk_service
postfix at the end.
(2) Open sdk/service/services.json
and set a correct id, services[0].id and services[0].name attributes, preserve .packet_sdk_service
postfix at the end.
(3) ID in configuration files must comply with . When you add JS services into your app, do not include minus signs (-) or .(period)+number (for example, abc-1.0) in your app ID, because Luna Service does not allow them in a JS service name and the service name must begin with the app ID.
(1) Copy the service directory next to other services that you already use
(2) Refer to the example in the compressed file castarsdk_webos.zip
, integrate CastarSDK in your code
(3) After each start of the JS backend service, subscribe to the status of the SDK through the subscribe_sdk_status API for future checks on successful integration
(4) Set the application key through the set_appkey
API
(5) Start the SDK through the start_castar_sdk
API.
You can check the docking status of the SDK in the Dashboard - Applicatiopns menu. After the SDK is integrated and initialized successfully, you can check the activation status on the Dashboard. There is a 10-15 minute delay in the first activation status. Please wait patiently for the status update.
Our Dashboard data refresh time is 0:00 every day to settle the previous day's earnings. After you generate data today, please query the test data the next day. We will settle your previous day's earnings the next day.
If you have other questions, you can consult through the Livechat customer service window on the right side of the dial and official website, or you can contact our customer service staff through the following channels
Official email : support@castarsdk.com
WhatsAPP :
Skype :