# Application Context ## Module to Import ``` import app from '@system.app'; ``` ## Required Permissions None ## app.getInfo getInfo\(\): <[AppResponse](#t3e93239d9b134b80957bcdd4acb05291)\> Obtains the declared information in the **config.json** file of an application. - Return values **Table 1** AppResponse

Name

Type

Description

appID6+

string

Bundle name of the application. It uniquely identifies the application.

appName

string

Application name

versionName

string

Application version name

versionCode

number

Application version

- Example ``` export default { getInfo(){ var info = app.getInfo(); console.log(JSON.stringify(info)); } } ``` ## app.terminate terminate\(\): void Destroys the current ability. - Example ``` export default { terminate(){ app.terminate(); }} ```