When I try to insert an event to the calendar app using Kodular native Activity Starter, the date for that event is ignored (beginnig and end times, and all the other event elements are passed OK to the calendar app, but even if the event is in a future date, the calendar takes the current date).
If I use the Activity Started extension from pepemont instead, passing exactly the same parameters, it works perfect (all the event elements including the date are passed OK to the calendar app), but my app shows the following error:
java.lang.NoSuchMethodError: No virtual method getOpenAnimType()Ljava/lang/String; in class Lcom/google/appinventor/components/runtime/Form; or its super classes (declaration of ‘com.google.appinventor.components.runtime.Form’ appears in base.apk)
The following blocks show a simple example app that has just two card_view element acting as buttons. When clicking the first one, the native Activity Starter is used to insert a calendar event into the default calendar app. No errors are shown but the date of the calendar event is not passed to the calendar (it takes the current date instead, ignoring the date that’s passed in the arguments).
When clicking the second card_view element, all the arguments, particularly the calendar event date, are passed OK to the default calendar app, but the error indicated above is displayed.
So the extension solves the date issue but introduces a runtime error:
This is the error as it appears in the app:
The project (.aia file) can be found here
What can be done to avoid the app to show that error?
Thanks and best regards.