I'm having an issue on App Inventor 2 with the native Activity Starter and the Activity Starter extension from pepemont.
When I try to insert an event to the calendar app using AI2 native Activity Starter, the dates and times for that event are ignored (all the other event elements are passed OK to the calendar app, but even if the event is in a future date/time, the calendar takes the current date/time).
If I use the Activity Starter extension from pepemont instead, passing exactly the same parameters, it works perfect (all the event elements including the date and time are passed OK to the calendar app), but my app shows the following error:
Runtime Error
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 buttons. When clicking on 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 and time of the event are not passed to the calendar (it takes the current date / time instead, ignoring the date and time that are passed in the arguments).
When clicking on the second button, the Activity Starter Extension indicated above is used to insert a calendar event into the default calendar app. Now all the arguments, particularly the calendar event date and time, are passed OK to the default calendar app, but the error indicated above is displayed.
So the extension solves the date/time 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.
Sergio.