Skip to content

iOS 17 PlatformException(401, The user has not allowed this application to modify their calendar(s), null, null) #561

@FySanta

Description

@FySanta

ios 17.0
var calendarsResult = await _deviceCalendarPlugin.retrieveCalendars() has error PlatformException(401, The user has not allowed this application to modify their calendar(s), null, null)

await _deviceCalendarPlugin.requestPermissions();
await _deviceCalendarPlugin.hasPermissions();
var calendarsResult = await _deviceCalendarPlugin.retrieveCalendars();

31728382804_ pic
errorcode:599
errorMessage:Device calendar plugin ran into an issue. Platform specific exception [401], with message :"The user has not allowed this application to modify their calendar(s)", has been thrown.

When getting the fullaccess privileges for a calendar, running await _deviceCalendarPlugin.requestPermissions() gives true after the user grants the privileges, but await _deviceCalendarPlugin.hasPermissions() says is false, and only becomes true after restarting the app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions