Skip to content

minuteInterval does not seem to be working #65

@0x011B

Description

@0x011B

Describe the bug
While recognized as a parameter, minuteInterval does not seem to be recognized. You can still select any minute available.

To Reproduce
Simply installing the plugin and using minuteInterval

Expected behavior
Minutes should only be selectable by their interval. Any other option should simply not be an option

Cordova
List Cordova versions by running:

  • cordova -v 12.0.0
  • cordova platform ls android 12.0.1

Plugin version
Most recent

Development OS (please complete the following information):

  • OS: Windows

Device (please complete the following information):

  • Device: Android Emulated Phone/Tablet

Additional context
Creating a new time picker also throws this error every time and takes a bit longer than to be expected:

java.lang.NoSuchFieldException: timePicker
	at java.lang.Class.getField(Class.java:1635)
	at com.skwas.cordova.datetimepicker.TimePickerDialog.onCreate(TimePickerDialog.java:90)
	at android.app.Dialog.dispatchOnCreate(Dialog.java:432)
	at android.app.Dialog.show(Dialog.java:321)
	at android.app.TimePickerDialog.show(TimePickerDialog.java:151)
	at com.skwas.cordova.datetimepicker.DateTimePicker.showDialog(DateTimePicker.java:293)
	at com.skwas.cordova.datetimepicker.DateTimePicker.access$400(DateTimePicker.java:28)
	at com.skwas.cordova.datetimepicker.DateTimePicker$1.run(DateTimePicker.java:231)
	[...]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions