harmony 鸿蒙Account Subsystem Changelog

  • 2023-06-24
  • 浏览 (401)

Account Subsystem Changelog

cl.account_os_account.1 Allowing Spaces in App Account Names

Before the change, when an account name containing a space is passed in, an error will be returned. Now, the account names can contain spaces.

Change Impact

Applications developed based on earlier versions are not affected. From this version, the account names in app account APIs are no longer checked for spaces.

Key API/Component Changes

The following APIs are involved: - AppAccountManager - createAccount(name: string, callback: AsyncCallback<void>): void; - auth(name: string, owner: string, authType: string, callback: AuthCallback): void; - setAppAccess(name: string, bundleName: string, isAccessible: boolean, callback: AsyncCallback<void>): void; - setCredential(name: string, credentialType: string, credential: string, callback: AsyncCallback<void>): void; - setCustomData(name: string, key: string, value: string, callback: AsyncCallback<void>): void; - setAuthToken(name: string, authType: string, token: string, callback: AsyncCallback<void>): void; - setAuthTokenVisibility(name: string, authType: string, bundleName: string, isVisible: boolean, callback: AsyncCallback<void>): void;

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Readme

harmony 鸿蒙Ability Framework Changelog

harmony 鸿蒙ArkUI Subsystem Changelog

harmony 鸿蒙Bundle Manager Subsystem Changelog

harmony 鸿蒙Input Method Framework Subsystem – Input Method Framework Service Changelog

harmony 鸿蒙Resource Scheduler Subsystem Changelog

harmony 鸿蒙Theme Framework Subsystem – Screenlock Management Service Changelog

harmony 鸿蒙Telephony Subsystem Changelog

harmony 鸿蒙Util Subsystem Changelog

harmony 鸿蒙Theme Framework Subsystem – Wallpaper Management Service Changelog

0  赞