Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS support #409

Open
neonio opened this issue Jan 30, 2022 · 8 comments · May be fixed by #471
Open

Mac OS support #409

neonio opened this issue Jan 30, 2022 · 8 comments · May be fixed by #471
Labels
enhancement New feature or request help wanted This issue is open for someone to pick up and action

Comments

@neonio
Copy link

neonio commented Jan 30, 2022

Hi there,
I think both macOS and iOS use EventKit fetch calendar data, and they share the same API, do we have a plan to support the macOS platform?

@thomassth
Copy link
Contributor

You are welcome to try!

I too think they may be easy to migrate. Try allowing Mac to run IOS logic and see how it goes. Most are gatekeeped by Platform.isIOS.

@thomassth thomassth added enhancement New feature or request help wanted This issue is open for someone to pick up and action labels Mar 27, 2022
@verrannt
Copy link

verrannt commented Apr 5, 2022

I tried to run the example app on MacOS, and I get a MissingPluginException when calling DeviceCalendarPlugin().hasPermissions():

No implementation found for method hasPermissions on channel plugins.builttoroam.com/device_calendar

This happens also for the methods requestPermissions and retrieveCalendars.

I do not know enough about platform channels in Flutter to understand why this error occurs or how it can be fixed. I see that the DeviceCalendarPlugin simply calls Flutter's MethodChannel with the respective method name. Any idea how we can get this to work on MacOS?

@thomassth
Copy link
Contributor

#419 looks promising
@verrannt you may take a look at it?

@mminhlequang
Copy link

@builttoroamadmin please help

@thomassth
Copy link
Contributor

@builttoroamadmin please help

What sort of help do you mean?

If you need Mac support now, you can try the #419 and see if it fits
I think I can test it on Mac in a week or two

@kingvhit
Copy link

Please refer #466 for checking the PR for supporting macOS.

@IVLIVS-III IVLIVS-III linked a pull request Feb 9, 2023 that will close this issue
@sheng-di
Copy link

What's going on? May I use it under MacOS now?

@IVLIVS-III
Copy link
Contributor

@sheng-di it worked on Intel based Macs at some point in the past. I have no idea if it still works. You are free to test.

It is not officially supported yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted This issue is open for someone to pick up and action
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants