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

Android: App crashes on Google Pixel 6a, 7a running android 14 #93

Open
ShivamKJJW opened this issue Jul 29, 2024 · 0 comments
Open

Android: App crashes on Google Pixel 6a, 7a running android 14 #93

ShivamKJJW opened this issue Jul 29, 2024 · 0 comments

Comments

@ShivamKJJW
Copy link

ShivamKJJW commented Jul 29, 2024

App crashes immediately if you try to addEvent with reminder.
For ex - If I try to add an event with reminder of 10 minutes before the event, it immediately crashes.

Here is the crashlog from Android. Please note that it doesn't crash in other devices.

AndroidRuntime    E  FATAL EXCEPTION: Thread-19
android.database.sqlite.SQLiteException
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:186)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)
at android.content.ContentProviderProxy.insert(ContentProviderNative.java:589)
at android.content.ContentResolver.insert(ContentResolver.java:2209)
at android.content.ContentResolver.insert(ContentResolver.java:2171)
at com.calendarevents.RNCalendarEvents.createRemindersForEvent(RNCalendarEvents.java:880)
at com.calendarevents.RNCalendarEvents.addEvent(RNCalendarEvents.java:718)
at com.calendarevents.RNCalendarEvents.-$$Nest$maddEvent(Unknown Source:0)
at com.calendarevents.RNCalendarEvents$4.run(RNCalendarEvents.java:1327)
at java.lang.Thread.run(Thread.java:1012)

Sample JS code:

RNCaledar.saveEvent('Test Event', {
                  startDate: startDate.toISOString(),
                  endDate: endDate.toISOString(),
                  alarms: [{date: 10}],
                })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant