Closed gkpo closed 2 years ago
I know this package isn't supposed to work with Expo managed apps. But Expo now has a feature where you can build your app with custom native code (see the documentation: https://docs.expo.dev/workflow/customizing/#developing-apps-with-custom-native-code).
Now my problem is that the app instantly crashes when I call AddCalendarEvent.presentEventCreatingDialog without even leaving a stack trace...
AddCalendarEvent.presentEventCreatingDialog
yarn add react-native-add-calendar-event
eas build --profile local
Any idea why this could be happening ? any help would be very much appreciated!
Fixed this by adding NSCalendarsUsageDescription and NSContactsUsageDescription to app.json: https://stackoverflow.com/questions/48157185/info-plist-file-for-react-native-ios-app-using-expo-sdk
I know this package isn't supposed to work with Expo managed apps. But Expo now has a feature where you can build your app with custom native code (see the documentation: https://docs.expo.dev/workflow/customizing/#developing-apps-with-custom-native-code).
Now my problem is that the app instantly crashes when I call
AddCalendarEvent.presentEventCreatingDialog
without even leaving a stack trace...Steps to reproduce:
yarn add react-native-add-calendar-event
eas build --profile local
AddCalendarEvent.presentEventCreatingDialog
Any idea why this could be happening ? any help would be very much appreciated!