unumotors / cordova-plugin-inline-datepicker

MIT License
4 stars 2 forks source link

Not getting the picker to render on iOS #8

Open rgustavsson opened 3 years ago

rgustavsson commented 3 years ago

I've been looking for an inline datepicker plugin quite a while and was happy to find this one 👍

I am working in an ionic 5 / cordova 9 environment and when I included this plugin in my iOS build I ran into exceptions due to that the type UIDatePickerMode was deprecated. I changed it to UIDatePicker.Mode in DatePicker.swift and CDVDatePicker.swift. The build now worked fine.

Now when I test your sample code the create function returns an ID (and I see it in the DOM) but I can't get the date picker to show up. No exceptions anywhere..

I'd be happy to debug it further and possibly contribute with improvements. I am a fullstack engineer but swift is new to me so if you have any pointers that can lead me in the right direction then I'd be very happy.

I am running my tests on an iPhone 8, iOS 14.2

rgustavsson commented 3 years ago

@mihriminaz Is this something that you'd be able to help me with? I'd be happy to pay