Skip to main content
Version: v1.0

hmApp.startApp(option)

Start the app

Type

(option: Option) => void

Parameters

Option: object

AttributeDescriptionRequiredTypeDefault value
appidApplication IDYESnumber-
urlJump pathYESstring-
native-NObooleanfalse
paramParameters passed to the onCreate life cycle in the App constructorNOstring-

Code examples

// Start the app with appid 1000001
hmApp.startApp({ appid: 1000001, url: 'pages/index2', param: '...' })