diiiary / capacitor-plugin-ios-swipe-back

9 stars 25 forks source link

Swift compiler error Value of optional type 'CAPBridgeProtocol?' must be unwrapped to refer to member 'getWebView' of wrapped base type 'CAPBridgeProtocol' #5

Open vincent38wargnier opened 3 years ago

vincent38wargnier commented 3 years ago

Hi, I just installed this plugin for ios capacitor, but I had an error in the file node_modules/capacitor-plugin-ios-swipe-back/ios/Plugin/Plugin.swift image

I had to do the following patch to make it working, is it a bug? image

Also by default it's running the build with IOS 11, but for capacitor the minimum version accepted is IOS 12 so I also had to change this parameter.

Thanks