<permission>

(Optional) The permissions (also known as capabilities, user actions, or actions) the application requests from the OS.

Parent elements:

<qnx>, <configuration>

Child elements:

None.

Description:

The <permission> element specifies the permissions (also known as capabilities, user actions, or actions) the application requests from the OS.

Content:

A PCDATA value representing the permissions granted to your application. To learn more about the permissions that you can use, see App permissions.

Attributes:

Name Description Values Default
system (Optional) Specifies the action is a system action and not a user action. The default value is false. For example, you can use run_native to run the app using the BlackBerry 10 OS runtime.

These actions are added implicitly to the BAR file manifest by the packager when it detects an application type that requires them.

true, false false

Example:

<qnx>
...
...
   <permission system="true">run_native</permission>
   <permission system="false">access_shared</permission>
   <permission system="false">record_audio</permission>
...
</qnx>
          

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus