File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Examples
2
+
3
+ This directory contains example applications demonstrating the usage of Supabase Swift SDK.
4
+
5
+ ## Prerequisites
6
+
7
+ [ Requirements] ( ../README.md#requirements )
8
+
9
+ ## Running the Examples App
10
+
11
+ 1 . Open the ` Examples.xcodeproj ` file in Xcode
12
+ 2 . Select your target device or simulator
13
+ 3 . Build and run the project (⌘R)
14
+
15
+ ## Authentication Setup
16
+
17
+ ### Google Sign-In Setup
18
+
19
+ To enable Google Sign-In in the examples app:
20
+
21
+ 1 . Create a project in the [ Google Cloud Console] ( https://console.cloud.google.com/ )
22
+ 2 . Enable the Google Sign-In API
23
+ 3 . Create OAuth 2.0 credentials for iOS
24
+ 4 . Update the ` Info.plist ` file with your credentials:
25
+ - Replace ` {{ YOUR_IOS_CLIENT_ID }} ` with your iOS client ID
26
+ - Replace ` {{ YOUR_SERVER_CLIENT_ID }} ` with your server client ID
27
+ - Replace ` {{ DOT_REVERSED_IOS_CLIENT_ID }} ` with your reversed client ID
28
+
29
+ ### Facebook Sign-In Setup
30
+
31
+ To enable Facebook Sign-In in the examples app:
32
+
33
+ 1 . Create an app in the [ Facebook Developers Console] ( https://developers.facebook.com/ )
34
+ 2 . Add iOS platform to your Facebook app
35
+ 3 . Update the ` Info.plist ` file with your Facebook credentials:
36
+ - Replace ` {{ FACEBOOK APP ID }} ` with your Facebook App ID
37
+ - Replace ` {{ FACEBOOK CLIENT TOKEN }} ` with your Facebook Client Token
You can’t perform that action at this time.
0 commit comments