Skip to content

Commit b6a8e81

Browse files
authored
Merge branch 'main' into peterfriese/apple/auth/google-sign-in
2 parents 60ab2ff + 2f40c32 commit b6a8e81

File tree

188 files changed

+9765
-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.

188 files changed

+9765
-0
lines changed

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,13 @@ node_modules
3232

3333
# Ignore all Firebase debug logs
3434
*-debug.log
35+
36+
### Xcode ###
37+
## User settings
38+
xcuserdata/
39+
40+
## Xcode 8 and earlier
41+
*.xcscmblueprint
42+
*.xccheckout
43+
3544
GoogleService-Info.plist
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Firebase Fundamentals: Getting started with Firebase Auth for Apple platforms
2+
3+
This is the source code used in this video: [Getting started with Firebase Auth for Apple platforms](https://www.youtube.com/watch?v=q-9lx7aSWcc).
4+
5+
## Prerequisites
6+
7+
* Install the Firebase CLI tools and the Firebase Emulator suite ([instructions](https://firebase.google.com/docs/emulator-suite/install_and_configure))
8+
9+
## How to use
10+
11+
1. Clone the repository
12+
2. Navigate into the `final` folder for this project
13+
14+
```bash
15+
$ cd fundamentals/apple/auth-gettingstarted/final/Favourites
16+
```
17+
18+
3. Open the project in Xcode
19+
20+
```bash
21+
$ xed .
22+
```
23+
24+
4. Run the Firebase Authentication Emulator locally:
25+
26+
```bash
27+
$ firebase emulators:start
28+
```
29+
30+
5. Run the app on the iOS Simulator
31+
6. On the login screen, switch to the sign-up screen, and sign up using email and password
32+
7. Once you are signed in, you can see the newly created user account in the Firebase Authentication Emulator (http://localhost:4000/auth)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "dummy-project-id"
4+
}
5+
}

fundamentals/apple/auth-gettingstarted/final/Favourites/Favourites.xcodeproj/project.pbxproj

Lines changed: 588 additions & 0 deletions
Large diffs are not rendered by default.

fundamentals/apple/auth-gettingstarted/final/Favourites/Favourites.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
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>

fundamentals/apple/auth-gettingstarted/final/Favourites/Favourites.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 113 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 27 additions & 0 deletions
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>

0 commit comments

Comments
 (0)