Function checkPermissions

  • Check if necessary permissions are granted @ param askIfDenied - If true, will ask the user for permissions again, if they were denied before

    Parameters

    • askIfDenied: boolean = true

    Returns Promise<boolean>

    true if permissions are granted, false otherwise