vonovak / react-native-add-calendar-event

Create, view or edit events in react native using the standard iOS / Android dialogs
MIT License
344 stars 103 forks source link

Support for Android 11 #142

Open sdlee3 opened 3 years ago

sdlee3 commented 3 years ago

Hi, after i upgrade to targetSdkVersion 30 which to support Android 11, I unable to add my appointment to calendar in Android. Anyone here have idea and help for this issue?

jomla97 commented 2 years ago

Bump

iamakg commented 2 years ago

I can't add event to Android 11 as well, Android 12 is out now.

Mitdd9707 commented 2 years ago

same issue @sdlee3 @iamakg i can't add event

sdlee3 commented 2 years ago

Hi @Mitdd9707. I fixed that by adding the package visibility for calendar in Android Manifest file.

Here are the code snippet, hope it able to help you

<manifest package="com.example.test">
   <queries>
     <package android:name="com.google.android.calendar" />    
    </queries>
    ...
</manifest>
johannessachse commented 8 months ago

This Issue can be closed I guess. On Android 11 I can add an event to the Calendar