Skip to main content
Version: 1.1.4

Mobile Customization

In mobile section just copy and paste the functions inside command that executed after webview load.

Example Usage#

Usage explained in detail in related Mobile Sections

web = (WebView) findViewById(R.id.webview);
web.setWebViewClient(new WebViewClient() {
@Override
// javascript commands should be executed after page loaded
public void onPageFinished(WebView view, String url) {
web.loadUrl("javascript:initProducts('af648582-1346-45e0-bea2-f872c7a84c6d','http://127.0.0.1:8000')");
web.loadUrl("javascript:hideSlider()");
});

Change Background Color#

changeBackgroundColor("#0000FF")

Alt Text

Change Try Label#

changeTryLabel("TRY IT NOW")

Alt Text

Change Choose Model Button Color and Label#

changeChoosModelColorAndLabel( "Choose Model","#0000FF"))

Alt Text

Change Take a Photo Color and Label#

functionchangeTakePhotoWithAppButtonColorAndLabel("Take a Photo","#0000FF")

Alt Text

Hide Take a Photo Button#

hideTakePhotoWithAppButton('')

Alt Text

Hide Choose Model Button#

(If you want to use your models, you should hide our choose model button)

hideChooseModelButton()

Alt Text

Change Choose Model Label On Model Page#

changeChooseModelText('Choose Model Please')

Alt Text

Will be used for UI integration
You can decide to choose your own icons for back button and slider button. Simply hide our button and put your icon. Post message when clicked your button.

Hide slider button.#

hideSlider()

Alt Text

Hide back button.#

hideBackButton()

Alt Text