capacitor-community / date-picker

Native DateTime Picker Plugin for Capacitor Apps
MIT License
87 stars 29 forks source link

Value of optional type 'CAPBridgeProtocol?' must be unwrapped to refer to member 'config #53

Closed Slayess closed 1 year ago

Slayess commented 2 years ago

Describe the bug Error occured during the XCode compilation

Expected behavior Error displayed : Swift compiler error Value of optional type 'CAPBridgeProtocol?' must be unwrapped to refer to member 'config' of wrapped base type 'CAPBridgeProtocol'

Screenshots 11

Desktop (please complete the following information):

Thanks in advance for your help

Ong26 commented 2 years ago

I think you are using date picker of version 0.2.3 with capacitor v3. Will works fine after changing DatePicker to the beta version (0.3.0)

sagargowda commented 2 years ago

macOS 12.3.1 XCode 13.3.1

@Ong26 having same issue i am using @capacitor/core 3.4.3 and as you suggested tried changing DatePicker to the beta version (0.3.0) but not able to install because it gives below error please check.

date-picker-error
maudvd commented 2 years ago

I have the same error. Is there no new up to date version to go with Capacitor v3 ?

nijakobius commented 1 year ago

Getting similar errors (on macOS Ventura 13.0, Xcode 14.1, @capacitor-community/date-picker@0.2.3):

Screenshot 2022-11-21 at 23 51 45

...and also cannot install 0.3.0:

Screenshot 2022-11-21 at 23 54 17
jcesarmobile commented 1 year ago

this is fixed in version 3.0.0