Two methods added to the packagemanager Javascript interface:
getApplicationName(String packageName)
Resolves an Android package name to the name of the app, if it is visible to the user.
getGrantedPermissions()
Get a list of all applications, and the permissions that were granted to them. For packages targeting SDK version 21 or lower, this means "permissions requested at install time"; for packages targeting SDK 22 or newer, this means "permissions granted during runtime".
Two methods added to the
packagemanager
Javascript interface:getApplicationName(String packageName)
Resolves an Android package name to the name of the app, if it is visible to the user.getGrantedPermissions()
Get a list of all applications, and the permissions that were granted to them. For packages targeting SDK version 21 or lower, this means "permissions requested at install time"; for packages targeting SDK 22 or newer, this means "permissions granted during runtime".