Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch @capacitor/keyboard@6.0.3 for the project I'm working on.
While building the project in Xcode I was getting a warning regarding the properties of KeyboardPlugin.
Here is the diff that solved my problem:
diff --git a/node_modules/@capacitor/keyboard/ios/Sources/KeyboardPlugin/Keyboard.m b/node_modules/@capacitor/keyboard/ios/Sources/KeyboardPlugin/Keyboard.m
index 29c0708..69cb4d1 100644
--- a/node_modules/@capacitor/keyboard/ios/Sources/KeyboardPlugin/Keyboard.m
+++ b/node_modules/@capacitor/keyboard/ios/Sources/KeyboardPlugin/Keyboard.m
@@ -43,7 +43,7 @@ @interface KeyboardPlugin () <UIScrollViewDelegate>
@end
#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wprotocol"
+#pragma clang diagnostic ignored "-Wobjc-protocol-property-synthesis"
// suppressing warnings of the type: "Class 'KeyboardPlugin' does not conform to protocol 'CAPBridgedPlugin'"
// protocol conformance for this class is implemented by a macro and clang isn't detecting that
@implementation KeyboardPlugin
This issue body was partially generated by patch-package.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
@capacitor/keyboard@6.0.3for the project I'm working on.While building the project in Xcode I was getting a warning regarding the properties of KeyboardPlugin.
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.