Ionic + native calender dosent work on android


#1

i followed this tutorial and am having hardtime
when i run android app on my mobile native calender dosent open when i click on create even button

any help this is my stack trace

ystem.err( 3046): Exception: null
W/PluginManager( 3046): THREAD WARNING: exec() call to Calendar.createEventWithOptions blocked the main thread for 172ms. Plugin should use CordovaInt
erface.getThreadPool().
W/CordovaPlugin( 3046): Attempted to send a second callback for ID: Calendar1729418646
W/CordovaPlugin( 3046): Result was: "Invalid action"
D/CordovaLog( 3046): file:///android_asset/www/js/app.js: Line 26 : There was an error: null
E/Web Console( 3046): There was an error: null at file:///android_asset/www/js/app.js:26
I/CalendarProvider2( 933): Sending notification intent: Intent { act=android.intent.action.PROVIDER_CHANGED dat=content://com.android.calendar }
W/ContentResolver( 933): Failed to get type for: content://com.android.calendar (Unknown URL content://com.android.calendar)
D/AlertReceiver( 828): onReceive: a=android.intent.action.PROVIDER_CHANGED Intent { act=android.intent.action.PROVIDER_CHANGED dat=content://com.andr
oid.calendar flg=0x10 cmp=com.android.calendar/.alerts.AlertReceiver }
D/AlertService( 828): 0 Action = android.intent.action.PROVIDER_CHANGED
D/AlertService( 828): Beginning updateAlertNotification
D/AlertService( 828): No fired or scheduled alerts


#2

You m=can have a look at https://github.com/rajeshwarpatlolla/ionic-datepicker
If you feel this can serve your purpose, you can use it.