You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was researching why my macOS Flutter build was having issues when attempting to request and utilize permissions, and I came across a number of valuable resources and open issues. I'm creating an issue here to track the underlying issue—hopefully it might save other users of the reminders plugin some time in troubleshooting in the future.
device_calendar: update Mac support #419 (An open PR on device_calendar,the most popular other Flutter calendar plugin, notably also using EventKit, where the same issue was encountered.)
For what it's worth, my workflow for debugging anything involving Calendar or Reminders macOS permissions right now is:
Launch debug or release build from Android Studio. Permissions will not work at this stage, and any attempt to read permission will return PermissionStatus at the OS level.
Ensure the launcher icon is saved in the dock, then close the app & reopen it by clicking on icon in dock
Permissions work as expected.
The text was updated successfully, but these errors were encountered:
I know this works in VS Code but I haven't tried it in Android Studio. Open a terminal within your IDE and run this code:
osascript - title <<END
on run a
tell app "Reminders"
tell list "Reminders" of default account
make new reminder with properties {name:item 1 of a}
end
end
end
END
This will create a reminder and give your IDE permission.
I was researching why my macOS Flutter build was having issues when attempting to request and utilize permissions, and I came across a number of valuable resources and open issues. I'm creating an issue here to track the underlying issue—hopefully it might save other users of the
reminders
plugin some time in troubleshooting in the future.reminders
' creator)device_calendar
,the most popular other Flutter calendar plugin, notably also using EventKit, where the same issue was encountered.)For what it's worth, my workflow for debugging anything involving Calendar or Reminders macOS permissions right now is:
The text was updated successfully, but these errors were encountered: