# Changelog Changelog for [skwas-cordova-plugin-datetimepicker](./README.md). ## 3.0.2 - iOS: Hide keyboard input when clicking on ios current datetime entry (#60) ## 3.0.1 - Removed unnecessary artifacts from npm release package, making the package smaller. ## 3.0.0 - Android: use annotations/decorators from AndroidX ### Chores - Added coverage/CI scripts ## 2.1.2 ### Fixes - iOS: Prefer wheels style on iOS 14. #45 (thanks @leMaik) ## 2.1.1 ### Fixes - Android: build error 'local variable callbackContext is accessed from within inner class; needs to be declared final' ([#37](https://github.com/skwasjer/skwas-cordova-plugin-datetimepicker/issues/37)) ## 2.1.0 ### New - iOS: added iOS 13 dark mode support ([#35](https://github.com/skwasjer/skwas-cordova-plugin-datetimepicker/issues/35)). - Android/iOS: add `clearText` property which - when specified - adds a button with intent to clear the current date. When the user taps this button, the `success` callback will be called with an `undefined` date and the picker is closed. Backwards compatible due to having to opt-in. - Android/iOS: add `titleText` property which when specified sets the dialog title. ### Changes - Android/iOS: removed default button texts. Instead, now OS defaults are used. - iOS: removed default locale 'EN'. Instead, the user locale is used. - iOS: refactored to use `UINavigationBar` and Auto Layout. - iOS: made modal background slightly less opaque. ### Fixes - iOS: ([#33](https://github.com/skwasjer/skwas-cordova-plugin-datetimepicker/issues/33)) fix picker sometimes showing 1 januari when using `minuteInterval` > 1 and `allowOldDates` or `allowFutureDates` is set to `false`. ## 2.0.1 ### Fixes - Android: Lower API level 26 requirement introduced in v2.0.0 down to API level 19. ## 2.0.0 ### New - Add support to hide the picker from code - Android: add support for `allowFutureDates`/`allowOldDates` ### Fixes - Android/iOS: fix `minDate`/`maxDate` to support dates older than 1-1-1970 ### Improvements - Validate and sanitize options ### Breaking - Android: requires API level 26 (https://developer.android.com/distribute/best-practices/develop/target-sdk) ## 1.1.3 - Android: Due to a [known bug](https://issuetracker.google.com/issues/36951008), when cancelling on Jelly Bean and KitKat, the cancel callback was not called. Instead the success callback was called. Fixes [#18](https://github.com/skwasjer/skwas-cordova-plugin-datetimepicker/issues/18). ## 1.1.2 - iOS: fix bug when `minDate` or `maxDate` was NSNull would cause exception. ## 1.1.1 - iOS: fix null reference exception when `minDate` or `maxDate` was not specified - iOS: fix `maxDate` not being set when `minDate` was not specified ## 1.1.0 - Android/iOS: add support for min and max date settings - Add type information for Typescript support ## 1.0.0 - Android/iOS: add support for cancel-event - Moved callback handlers from method parameters to options while keeping backward compatibility - Android: add 24 hour clock support ## 0.9.1 - Android: add support for okText/cancelText ## 0.9.0 - Android: fixed datetime mode only showing date picker (see [#10](https://github.com/skwasjer/skwas-cordova-plugin-datetimepicker/issues/10)) - Android: added theme support - Android: added calendar switch ## 0.8.0 - Android: fix @NonNull error when building apk ## 0.7.0 - iOS: use auto layout - iOS: remove < iOS 7 support (UIActionSheet) - iOS: remove custom modal picker type - Android: fix minute spinner for setting minute interval ## 0.6.0 - Android: support Lollipop radial picker (no support for minute interval however) - Android: overall refactor and improvements ## 0.5.1 - iOS: replace initWithWebView with pluginInitialize (deprecated in cordova-ios-4.0) ## 0.5.0 - Rename repo to conform to npm/cordova plugin naming convention