ACES

A list of all Actions, Conditions and Expressions supported in this addon.

core - android - ios

  • Actions

    switch To Settings

    Opens settings page for this app.

    switch To Wireless Settings

    Switches to the wireless settings page in the Settings app. Allows configuration of wireless controls such as Wi-Fi, Bluetooth and Mobile networks.

    switch To Mobile Data Settings

    Displays mobile settings to allow user to enable mobile data.

    permission Status

    Both Android and iOS define constants for requesting and reporting the various permission states.

    get Permission Authorization Status

    Returns the current authorisation status for a given permission.

    request Runtime Permission

    Requests app to be granted authorisation for a runtime permission.

    is Requesting Permission

    Indicates if the plugin is currently requesting a runtime permission via the native API. Note that only one request can be made concurrently because the native API cannot handle concurrent requests, so the plugin will invoke the error callback if attempting to make more than one simultaneous request. Multiple permission requests should be grouped into a single call since the native API is setup to handle batch requests of multiple permission groups.

    register Permission Request Complete Handler

    Registers a function to be called when a runtime permission request has completed. Pass in a falsey value to de-register the currently registered function.

    is Data Roaming Enabled

    Checks if the device data roaming setting is enabled. Returns true if data roaming is enabled.

    is ADB Mode Enabled

    cordova.plugins.diagnostic.isADBModeEnabled(function(enabled){

    is Device Rooted

    Checks if the device is rooted. Returns true if the device is rooted.

    is Background Refresh Authorized

    Checks if the application is authorized for background refresh.

    get Background Refresh Status

    Returns the background refresh authorization status for the application.

location - android - ios

  • Actions

    Location mode ({0}).

    SDefines constants for the various location modes on Android.

    Location authorization mode ({0}).

    Defines constants for the various location authorization modes on iOS and Android >= 10.

bluetooth - android - ios

  • Actions

    Get bluetooth state ({0}, {1}).

    Defines constants for the various Bluetooth hardware states

    Is bluetooth available

    Platforms: Android, iOS and Windows 10 UWP

    is Bluetooth Enabled

    Checks if the device setting for Bluetooth is switched on.

wifi - android - ios

  • Actions

    is Wifi Available

    Checks if Wifi is available. On iOS this returns true if the device is connected to a network by WiFi.

    is Wifi Enabled

    On iOS this returns true if the WiFi setting is set to enabled (regardless of whether it's connected to a network).

    Set wifi state ({0}).

    Enables/disables WiFi on the device.

camera - android - ios

  • Actions

    Is camera available ({0}).

    Checks if camera is available. | On Android & iOS this returns true if the device has a camera AND the application is authorized to use it.

    is Camera Authorized ({0}).

    Checks if the application is authorized to use the camera. | This is intended for Android 6 / API 23 and above. Calling on Android 5.1 / API 22 and below will always return TRUE as permissions are already granted at installation time.

notifications - android - ios

  • Actions

    get Remote Notification Types

    Purpose: Remote notifications functionality

    is Remote Notifications Enabled

    Purpose: Remote notifications functionality

microphone - android - ios

  • Actions

    isMicrophoneAuthorized

    Checks if the application is authorized to use the microphone. | Notes for Android: This is intended for Android 6 / API 23 and above. Calling on Android 5.1 / API 22 and below will always return TRUE as permissions are already granted at installation time.

    getMicrophoneAuthorizationStatus

    Returns the microphone authorization status for the application. Notes for Android: This is intended for Android 6 / API 23 and above. Calling on Android 5.1 / API 22 and below will always return GRANTED status as permissions are already granted at installation time.

    requestMicrophoneAuthorization

    Requests microphone authorization for the application. Notes for iOS: Should only be called if authorization status is NOT_REQUESTED. Calling it when in any other state will have no effect and just return the current authorization status.

success response

  • Conditions

    On Core Module success

    ANY core module response Successfully

error response

  • Conditions

    On Core Module error

    ANY core module response error

Response

Download

1.3 Stable (24.68 KB)

Info

Statistics

  • Download count160 total downloads
  • Latest download count 73 downloads of latest version
  • Average download count1 downloads per day average

Owners

  • 1 Comments

  • Order by
Want to leave a comment? Login or Register an account!