Skip to content

Commit 71e7e60

Browse files
authored
Merge pull request #13 from FirebaseExtended/peterfriese/apple/auth/google-sign-in
Add sample code for Getting Started with Google Sign-In on iOS
2 parents 2f40c32 + b6a8e81 commit 71e7e60

File tree

107 files changed

+4206
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+4206
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleURLTypes</key>
6+
<array>
7+
<dict>
8+
<key>CFBundleTypeRole</key>
9+
<string>Editor</string>
10+
<key>CFBundleURLSchemes</key>
11+
<array>
12+
<string>com.googleusercontent.apps.60621595991-56o7joa9ipv4hroaqhu6j900ii22idva</string>
13+
</array>
14+
</dict>
15+
</array>
16+
<key>GIDClientID</key>
17+
<string>60621595991-56o7joa9ipv4hroaqhu6j900ii22idva.apps.googleusercontent.com</string>
18+
</dict>
19+
</plist>

fundamentals/apple/auth-google-sign-in/final/Favourites/Favourites.xcodeproj/project.pbxproj

+629
Large diffs are not rendered by default.

fundamentals/apple/auth-google-sign-in/final/Favourites/Favourites.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
{
2+
"pins" : [
3+
{
4+
"identity" : "abseil-cpp-swiftpm",
5+
"kind" : "remoteSourceControl",
6+
"location" : "https://github.com/firebase/abseil-cpp-SwiftPM.git",
7+
"state" : {
8+
"revision" : "583de9bd60f66b40e78d08599cc92036c2e7e4e1",
9+
"version" : "0.20220203.2"
10+
}
11+
},
12+
{
13+
"identity" : "appauth-ios",
14+
"kind" : "remoteSourceControl",
15+
"location" : "https://github.com/openid/AppAuth-iOS.git",
16+
"state" : {
17+
"revision" : "3d36a58a2b736f7bc499453e996a704929b25080",
18+
"version" : "1.6.0"
19+
}
20+
},
21+
{
22+
"identity" : "boringssl-swiftpm",
23+
"kind" : "remoteSourceControl",
24+
"location" : "https://github.com/firebase/boringssl-SwiftPM.git",
25+
"state" : {
26+
"revision" : "dd3eda2b05a3f459fc3073695ad1b28659066eab",
27+
"version" : "0.9.1"
28+
}
29+
},
30+
{
31+
"identity" : "firebase-ios-sdk",
32+
"kind" : "remoteSourceControl",
33+
"location" : "https://github.com/firebase/firebase-ios-sdk",
34+
"state" : {
35+
"revision" : "c24031ad9410c746c49deddc739fdf311a386fc7",
36+
"version" : "10.2.0"
37+
}
38+
},
39+
{
40+
"identity" : "googleappmeasurement",
41+
"kind" : "remoteSourceControl",
42+
"location" : "https://github.com/google/GoogleAppMeasurement.git",
43+
"state" : {
44+
"revision" : "71eb6700dd53a851473c48d392f00a3ab26699a6",
45+
"version" : "10.1.0"
46+
}
47+
},
48+
{
49+
"identity" : "googledatatransport",
50+
"kind" : "remoteSourceControl",
51+
"location" : "https://github.com/google/GoogleDataTransport.git",
52+
"state" : {
53+
"revision" : "5056b15c5acbb90cd214fe4d6138bdf5a740e5a8",
54+
"version" : "9.2.0"
55+
}
56+
},
57+
{
58+
"identity" : "googlesignin-ios",
59+
"kind" : "remoteSourceControl",
60+
"location" : "https://github.com/google/GoogleSignIn-iOS",
61+
"state" : {
62+
"branch" : "main",
63+
"revision" : "eade6df4163f2415523f6fdc1e1d64fbce3cf0c4"
64+
}
65+
},
66+
{
67+
"identity" : "googleutilities",
68+
"kind" : "remoteSourceControl",
69+
"location" : "https://github.com/google/GoogleUtilities.git",
70+
"state" : {
71+
"revision" : "6db6edb48bdd9943426562c7f042a5492de5ba3d",
72+
"version" : "7.10.0"
73+
}
74+
},
75+
{
76+
"identity" : "grpc-ios",
77+
"kind" : "remoteSourceControl",
78+
"location" : "https://github.com/grpc/grpc-ios.git",
79+
"state" : {
80+
"revision" : "8440b914756e0d26d4f4d054a1c1581daedfc5b6",
81+
"version" : "1.44.3-grpc"
82+
}
83+
},
84+
{
85+
"identity" : "gtm-session-fetcher",
86+
"kind" : "remoteSourceControl",
87+
"location" : "https://github.com/google/gtm-session-fetcher.git",
88+
"state" : {
89+
"revision" : "efda500b6d9858d38a76dbfbfa396bd644692e4a",
90+
"version" : "3.0.0"
91+
}
92+
},
93+
{
94+
"identity" : "gtmappauth",
95+
"kind" : "remoteSourceControl",
96+
"location" : "https://github.com/google/GTMAppAuth.git",
97+
"state" : {
98+
"revision" : "cee3c709307912d040bd1e06ca919875a92339c6",
99+
"version" : "2.0.0"
100+
}
101+
},
102+
{
103+
"identity" : "leveldb",
104+
"kind" : "remoteSourceControl",
105+
"location" : "https://github.com/firebase/leveldb.git",
106+
"state" : {
107+
"revision" : "0706abcc6b0bd9cedfbb015ba840e4a780b5159b",
108+
"version" : "1.22.2"
109+
}
110+
},
111+
{
112+
"identity" : "nanopb",
113+
"kind" : "remoteSourceControl",
114+
"location" : "https://github.com/firebase/nanopb.git",
115+
"state" : {
116+
"revision" : "819d0a2173aff699fb8c364b6fb906f7cdb1a692",
117+
"version" : "2.30909.0"
118+
}
119+
},
120+
{
121+
"identity" : "promises",
122+
"kind" : "remoteSourceControl",
123+
"location" : "https://github.com/google/promises.git",
124+
"state" : {
125+
"revision" : "3e4e743631e86c8c70dbc6efdc7beaa6e90fd3bb",
126+
"version" : "2.1.1"
127+
}
128+
},
129+
{
130+
"identity" : "swift-protobuf",
131+
"kind" : "remoteSourceControl",
132+
"location" : "https://github.com/apple/swift-protobuf.git",
133+
"state" : {
134+
"revision" : "ab3a58b7209a17d781c0d1dbb3e1ff3da306bae8",
135+
"version" : "1.20.3"
136+
}
137+
}
138+
],
139+
"version" : 2
140+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>COPYRIGHT</key>
6+
<string>Copyright © 2021 Google LLC. All rights reserved.</string>
7+
<key>FILEHEADER</key>
8+
<string>
9+
// ___FILENAME___
10+
// ___PACKAGENAME___
11+
//
12+
// Created by ___FULLUSERNAME___ on ___DATE___.
13+
// ___COPYRIGHT___
14+
//
15+
// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
16+
// you may not use this file except in compliance with the License.
17+
// You may obtain a copy of the License at
18+
//
19+
// http://www.apache.org/licenses/LICENSE-2.0
20+
//
21+
// Unless required by applicable law or agreed to in writing, software
22+
// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
23+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24+
// See the License for the specific language governing permissions and
25+
// limitations under the License.</string>
26+
</dict>
27+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1340"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "88FC9F7028734A8100A83D18"
18+
BuildableName = "Favourites.app"
19+
BlueprintName = "Favourites (iOS)"
20+
ReferencedContainer = "container:Favourites.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
</TestAction>
33+
<LaunchAction
34+
buildConfiguration = "Debug"
35+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
36+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
37+
launchStyle = "0"
38+
useCustomWorkingDirectory = "NO"
39+
ignoresPersistentStateOnLaunch = "NO"
40+
debugDocumentVersioning = "YES"
41+
debugServiceExtension = "internal"
42+
allowLocationSimulation = "YES">
43+
<BuildableProductRunnable
44+
runnableDebuggingMode = "0">
45+
<BuildableReference
46+
BuildableIdentifier = "primary"
47+
BlueprintIdentifier = "88FC9F7028734A8100A83D18"
48+
BuildableName = "Favourites.app"
49+
BlueprintName = "Favourites (iOS)"
50+
ReferencedContainer = "container:Favourites.xcodeproj">
51+
</BuildableReference>
52+
</BuildableProductRunnable>
53+
<CommandLineArguments>
54+
<CommandLineArgument
55+
argument = "-FIRAnalyticsDebugEnabled"
56+
isEnabled = "YES">
57+
</CommandLineArgument>
58+
</CommandLineArguments>
59+
</LaunchAction>
60+
<ProfileAction
61+
buildConfiguration = "Release"
62+
shouldUseLaunchSchemeArgsEnv = "YES"
63+
savedToolIdentifier = ""
64+
useCustomWorkingDirectory = "NO"
65+
debugDocumentVersioning = "YES">
66+
<BuildableProductRunnable
67+
runnableDebuggingMode = "0">
68+
<BuildableReference
69+
BuildableIdentifier = "primary"
70+
BlueprintIdentifier = "88FC9F7028734A8100A83D18"
71+
BuildableName = "Favourites.app"
72+
BlueprintName = "Favourites (iOS)"
73+
ReferencedContainer = "container:Favourites.xcodeproj">
74+
</BuildableReference>
75+
</BuildableProductRunnable>
76+
</ProfileAction>
77+
<AnalyzeAction
78+
buildConfiguration = "Debug">
79+
</AnalyzeAction>
80+
<ArchiveAction
81+
buildConfiguration = "Release"
82+
revealArchiveInOrganizer = "YES">
83+
</ArchiveAction>
84+
</Scheme>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Bucket
3+
uuid = "DB5E36E3-F4DC-4106-999D-332C2581B9F2"
4+
type = "1"
5+
version = "2.0">
6+
</Bucket>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>SchemeUserState</key>
6+
<dict>
7+
<key>Favourites (iOS).xcscheme_^#shared#^_</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
<key>Favourites (macOS).xcscheme_^#shared#^_</key>
13+
<dict>
14+
<key>orderHint</key>
15+
<integer>1</integer>
16+
</dict>
17+
<key>Promises (Playground) 1.xcscheme</key>
18+
<dict>
19+
<key>isShown</key>
20+
<false/>
21+
<key>orderHint</key>
22+
<integer>4</integer>
23+
</dict>
24+
<key>Promises (Playground) 2.xcscheme</key>
25+
<dict>
26+
<key>isShown</key>
27+
<false/>
28+
<key>orderHint</key>
29+
<integer>5</integer>
30+
</dict>
31+
<key>Promises (Playground) 3.xcscheme</key>
32+
<dict>
33+
<key>isShown</key>
34+
<false/>
35+
<key>orderHint</key>
36+
<integer>1</integer>
37+
</dict>
38+
<key>Promises (Playground) 4.xcscheme</key>
39+
<dict>
40+
<key>isShown</key>
41+
<false/>
42+
<key>orderHint</key>
43+
<integer>6</integer>
44+
</dict>
45+
<key>Promises (Playground) 5.xcscheme</key>
46+
<dict>
47+
<key>isShown</key>
48+
<false/>
49+
<key>orderHint</key>
50+
<integer>7</integer>
51+
</dict>
52+
<key>Promises (Playground).xcscheme</key>
53+
<dict>
54+
<key>isShown</key>
55+
<false/>
56+
<key>orderHint</key>
57+
<integer>3</integer>
58+
</dict>
59+
</dict>
60+
<key>SuppressBuildableAutocreation</key>
61+
<dict>
62+
<key>88FC9F7028734A8100A83D18</key>
63+
<dict>
64+
<key>primary</key>
65+
<true/>
66+
</dict>
67+
</dict>
68+
</dict>
69+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"colors" : [
3+
{
4+
"idiom" : "universal"
5+
}
6+
],
7+
"info" : {
8+
"author" : "xcode",
9+
"version" : 1
10+
}
11+
}

0 commit comments

Comments
 (0)