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