HarmonyOS NEXT API12 如何跳转到应用信息页面
HarmonyOS NEXT API12 如何跳转到应用信息页面
let wantInfo: Want = {
bundleName: 'com.huawei.hmos.settings',
abilityName: 'com.huawei.hmos.settings.MainAbility',
uri: 'application_info_entry',
}
context.startAbility(wantInfo).then(() => {
console.log('location open setting page')
}).catch((err:object) => {
console.log('location open setting page failed')
})