We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abdf3aa commit 56c4e6eCopy full SHA for 56c4e6e
ios/Plugin/Plugin.m
@@ -1,5 +1,11 @@
1
#import <Foundation/Foundation.h>
2
#import <Capacitor/Capacitor.h>
3
4
-// Define the plugin using the CAP_PLUGIN Macro
5
-CAP_PLUGIN(GoogleAuth, "GoogleAuth")
+// Define the plugin using the CAP_PLUGIN Macro, and
+// each method the plugin supports using the CAP_PLUGIN_METHOD macro.
6
+CAP_PLUGIN(GoogleAuth, "GoogleAuth",
7
+ CAP_PLUGIN_METHOD(signIn, CAPPluginReturnPromise);
8
+ CAP_PLUGIN_METHOD(refresh, CAPPluginReturnPromise);
9
+ CAP_PLUGIN_METHOD(signOut, CAPPluginReturnPromise);
10
+ CAP_PLUGIN_METHOD(initialize, CAPPluginReturnPromise);
11
+)
0 commit comments