Cordova Calendar plugin does not work on iOS 10 Ionic

0

The plugin installed it as mentioned in its website, but for some reason it is not showing the information in the emulator or on a device.

When I run it with localhost if it shows me the calendar inside the application, but it does not show it on a device.

As I do not throw any errors in the log I can not know what may be failing.

    
asked by Isaac Figueroa Alfaro 27.10.2016 в 23:38
source

1 answer

0

iOS specifics, according to the official page of the plugin

Git Cordova Calendar Plugin

  • Supported methods: find, create, modify, delete, ..
  • All methods work without showing the native calendar. Your app never loses control.
  • Tested on iOS 6 +.
  • On iOS 10+ you need to provide a reason to the user for Calendar access. This plugin adds an empty NSCalendarsUsageDescription key to the /platforms/ios/*-Info.plist file which you can override with your custom string. To do so, pass the following variable when installing the plugin:

    cordova plugin add cordova-plugin-calendar --variable CALENDAR_USAGE_DESCRIPTION="This app uses your calendar"

answered by 27.10.2016 в 23:53