Affects Version/s: Release 5.1.0
Fix Version/s: None
TIMOB-7949 is resolved you have to manually add this to your tiapp.xml:
But if either is missing (e.g. because you don't need WRITE) weird stuff happens:
1. Ti.Calendar.hasCalendarPermissions() will always be false
2. Ti.Calendar.requestCalendarPermissions will always show the dialog and if you grant permissions call back with success:true.
I'd assume Ti.Calendar.requestCalendarPermissions to always call back with success:false - as it does when you don't have either user-permission in place.
I think the best approach is to resolve
TIMOB-7949 and with that this one as well.