-
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
Not able to add calendar event to google pixel phones. #168
Comments
Maybe it could be a permission issue, check out the readme file here. Timezone is not available for this api yet, it will just use the device's timezone. (Note: creating an all day event for Android have a timezone issue right now: #164) |
Which device and email account are you using? I've been testing with Pixel 3a with Gmail and Outlook and haven't experienced any of event or timezone issues. The plugin should pick up the device's timezone and use it, I'd assume you have set the device timezone as Australia, not GMT right? |
I have tried setting default time zone as AET(Australian). But still i am getting time zone as default GMT. Could you please share any example code snippet to create calendar events with timezone in android. |
If you were able to create a calender event through other devices, you should have the code to create a new event already. But briefly, you just need to call the method Are you able to provide which exact device and email account used? I'd like to test with it to see if I can reproduce this. |
I am using Samsung S7 Edge. With default calendar of Calendar app. I want to create event in "My Calendar" Calendar. I am getting GMT as default time zone. But i have selected my time zone as AST in DateTime under settings. For Pixel phone issue, I am trying to create event in Pixel 2 phone. Note : I have observed that retrieveCalendars() is returning a list with 3 objects. But those objects property values are null. |
Hi, I have observed that Calendar.fromJson(Map<String, dynamic> json) { Could you please check this at your end once? |
I've tried using Pixel 2 with my personal gmail and I do get the correct json results. For the timezone issue, the below code is ran to get current timezone for the device: |
Thanks for your support. I am able to create events in all devices after enabling proguard settings as mentioned in readme. |
I'll try it out with a Samsung phone to see what I get and get back to you. Meanwhile maybe trying out changing a timezone to something else and reverting it back to what it was? |
@ssivagnanam I've had a good look with Samsung Galaxy S6. Here's what I found:
From this, it seems like Samsung's default calendars are little different from Android calendars, I would recommend to add an account (eg. Google) and adding events to that account instead of adding to the Samsung's default calendars. |
Yeah. Thanks for an Update. Please keep me posted if any updates on this request. |
I'm going to close this for now, will let you know if I get a chance to add timezone support to the plugin. |
@ssivagnanam just an update with the Samsung phone issue, as from #182, I was able to get the current timezone for the local calendar when I use |
I am trying to add calendar event to google pixel phone. But i am not able to add it and i couldn't find Default calendar (My Calendar) in calendar app also.
Is there any thing i need to setup in my app to work with google pixel phones?
one more issue is like, i am not able to set "Timezone" while creating event.
The text was updated successfully, but these errors were encountered: