Skip to content

await Permission.scheduleExactAlarm.status.isGranted didn't get Device's current granted status#987

Description

@hyeonjeong-roh

馃悰 Bug Report

When i set my device(Android 12) setting 'Allow setting alarms and reminders' to false,
await Permission.scheduleExactAlarm.status.isGranted return true.
It seems like package didn't catch device's current granted status.

Expected behavior

My device: Android 12

So after i check device's granted status and tried to set exact alarm, error occurs.
below is error code.
'PlatformException(100, Failed while read arguments, Caller net.fiet.fiet needs to hold android.permission.SCHEDULE_EXACT_ALARM to set exact alarms., null)' error occurs.

Is there a way to capture device's current SCHEDULE_EXACT_ALARM granted status?
please help

Reproduction steps

Configuration

  • Version:* 10.2.0
  • Platform:*
  • 馃摫 iOS
  • 馃 Android

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work list.platform: androidIssue is related to the Android platform.type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions