Android >= 1.3.23
Retrieves the value of meta-data; for methods to set meta-data, refer to Android Set meta-data
Return Parameters
| Attribute | Type | Description |
|---|---|---|
| The custom name (app_channel) defined by the developer in project.miniapp.json | string | The value of the meta-data |
| errMsg | string | Error message |
Example
wx.miniapp.getMetaData({
success (res) {
console.log('getMetaData success', res)
}
})
