1# AppVersionInfo
2
3The AppVersionInfo module defines the application version information. You can use [getAppVersionInfo](js-apis-inner-app-context.md#contextgetappversioninfo7) to obtain the version information of the current application.
4
5> **NOTE**
6>
7> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8>
9> The APIs of this module can be used only in the FA model.
10
11## Modules to Import
12
13```ts
14import featureAbility from '@ohos.ability.featureAbility';
15```
16
17## Attributes
18
19**Atomic service API**: This API can be used in atomic services since API version 11.
20
21**System capability**: SystemCapability.Ability.AbilityRuntime.Core
22
23| Name       | Type  | Readable| Writable| Description          |
24| ----------- | ------ | ---- | ---- | -------------- |
25| appName     | string | Yes  | No  | Application name.    |
26| versionCode | number | Yes  | No  | Application version code.|
27| versionName | string | Yes  | No  | Application version name.  |
28