Skip to content

Commit 56c4e6e

Browse files
authored
fix: revert iOS changes
1 parent abdf3aa commit 56c4e6e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Diff for: ios/Plugin/Plugin.m

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#import <Foundation/Foundation.h>
22
#import <Capacitor/Capacitor.h>
33

4-
// Define the plugin using the CAP_PLUGIN Macro
5-
CAP_PLUGIN(GoogleAuth, "GoogleAuth")
4+
// Define the plugin using the CAP_PLUGIN Macro, and
5+
// 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

Comments
 (0)