-
Notifications
You must be signed in to change notification settings - Fork 278
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
macOS support #471
base: develop
Are you sure you want to change the base?
macOS support #471
Conversation
Timezone implementation and fixes
Publish new prerelease
New prerelease (4.1)
4.2 prerelease
Fixed fullDay with DateRange events creation (not only one fullday events possible to create) Timezone should be set only if event is not full day
All updates besides rrule
…odebase with macOS.
The example app runs now and can interact with the device calendar :)
This regression was introduced when unifying the swift code with macOS.
@thomassth Do you mind looking at this if you have some spare time? Should this be a 4.4.0 release or bundled in the big 5.0? |
I wasn't able to get any calendar details when running example app in MacOS |
What do you mean by calendar details? Events in that calendar, calendar name, calendar color, readonly/read/write state of the calendar, or something different? Edit: Did you make sure, that calendar access was enabled in AppSandbox in the example app (macOS) in XCode? |
Added event color (Android) + Updating of calendar color (Android/iOS)
…odebase with macOS.
The example app runs now and can interact with the device calendar :)
This regression was introduced when unifying the swift code with macOS.
I've created a shell command that can be run once from within the integrated terminal in Android Studio / VS Code / another IDE. tccutil reset Calendar $(mdls -name kMDItemCFBundleIdentifier "$(mdfind "kMDItemFSName == '$(ps -o comm= -p $(ps -o ppid= -p $$) | awk -F'.app' '{print $1".app"}' | awk -F'/' '{print $NF}')'" | head -n 1)" | sed 's/.*= "\(.*\)"/\1/') && osascript -e 'tell application "Calendar" to get the name of every calendar' Command explanation (click me)In the following explanation
Note: For VS Code the host executable path does not start with the application path, hence we need steps 2 and 3 instead of just truncating the output from step 1.
|
@lukemmtt thank you for your summary and collection of similar issues. Because of that, I was able to create a workaround. This is the first step in continuing work for macOS support. |
Glad to hear it @IVLIVS-III! Great to hear that you were able to come up with a workaround—this should make debugging calendar issues much less burdensome in Flutter + IDEs. Worth noting, my daily planner app TimeFinder is in production on iOS, Android and Mac, and it leverages our device_calendar fork for calendar integration on all platforms—works well! |
@thomassth revived this PR, it's ready for review. Try the workaround detailed above for the issue with launching the example from an IDE.
|
This PR adds macOS as a supported platform.
Closes #409.
As discussed on #466 we want to have a unified codebase for both iOS and macOS.
In this PR is heavily based on #466 but makes the changes necessary for a shared swift source.
The example app runs now both on iOS and macOS, with full feature support on both platforms.