Skip to end of metadata
Go to start of metadata

app.init

Description

Initializes the app object. Important: this should be done immediately after including the app library for consistent results. 


Basic Example: 

Parameters

 

NameRequiredTypeDefaultDescription
onError
No
function
 

Overloads if your application wants to handle error specifically.

defaultLangLocale
No
string
 

Indicates the language file to use if the app does not have a language file for the phone's chosen language. For example, if the chosen language/locale is fr_fr, but the app does not include the file strings.fr_fr.js, then the app uses the default language file as indicated with this parameter. If no value has been defined, the phone tries to use en_us.

  • No labels