Changelog for skwas-cordova-plugin-datetimepicker.
- iOS: Hide keyboard input when clicking on ios current datetime entry (#60)
- Removed unnecessary artifacts from npm release package, making the package smaller.
- Android: use annotations/decorators from AndroidX
- Added coverage/CI scripts
- iOS: Prefer wheels style on iOS 14. #45 (thanks @leMaik)
- Android: build error 'local variable callbackContext is accessed from within inner class; needs to be declared final' (#37)
- iOS: added iOS 13 dark mode support (#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, thesuccess
callback will be called with anundefined
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.
- 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.
- iOS: (#33) fix picker sometimes showing 1 januari when using
minuteInterval
> 1 andallowOldDates
orallowFutureDates
is set tofalse
.
- Android: Lower API level 26 requirement introduced in v2.0.0 down to API level 19.
- Add support to hide the picker from code
- Android: add support for
allowFutureDates
/allowOldDates
- Android/iOS: fix
minDate
/maxDate
to support dates older than 1-1-1970
- Validate and sanitize options
- Android: requires API level 26 (https://developer.android.com/distribute/best-practices/develop/target-sdk)
- Android: Due to a known bug, when cancelling on Jelly Bean and KitKat, the cancel callback was not called. Instead the success callback was called. Fixes #18.
- iOS: fix bug when
minDate
ormaxDate
was NSNull would cause exception.
- iOS: fix null reference exception when
minDate
ormaxDate
was not specified - iOS: fix
maxDate
not being set whenminDate
was not specified
- Android/iOS: add support for min and max date settings
- Add type information for Typescript support
- 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
- Android: add support for okText/cancelText
- Android: fixed datetime mode only showing date picker (see #10)
- Android: added theme support
- Android: added calendar switch
- Android: fix @NonNull error when building apk
- iOS: use auto layout
- iOS: remove < iOS 7 support (UIActionSheet)
- iOS: remove custom modal picker type
- Android: fix minute spinner for setting minute interval
- Android: support Lollipop radial picker (no support for minute interval however)
- Android: overall refactor and improvements
- iOS: replace initWithWebView with pluginInitialize (deprecated in cordova-ios-4.0)
- Rename repo to conform to npm/cordova plugin naming convention