This directory contains a set of samples and tests that integrate with FirebaseAuth.
The Podfile specifies the dependencies and is used to construct an Xcode workspace consisting of the samples, modifiable FirebaseAuth library, and its dependencies.
In order to run this application, you'll need to follow the following steps!
You'll need valid GoogleService-Info.plist
files for those samples. To get your own GoogleService-Info.plist
files:
- Go to the Firebase Console
- Create a new Firebase project, if you don't already have one
- For each sample app you want to test, create a new Firebase app with the sample app's bundle identifier (e.g.
com.google.FirebaseExperimental1.dev
) - Download the resulting
GoogleService-Info.plist
and place it in Sample/GoogleService-Info.plist
This feature is for advanced testing.
- The developer would need to get a GoogleService-Info.plist from a different iOS client (which can be in a different Firebase project)
- Save this plist file as GoogleService-Info_multi.plist in Sample/GoogleService-Info_multi.plist. This enables testing that FirebaseAuth continues to work after switching the Firebase App in the runtime.
Please follow the instructions in Sample/ApplicationTemplate.plist to generate the right Application.plist file
Please follow the instructions in Sample/AuthCredentialsTemplate.h to generate the AuthCredentials.h file.
In order to run this application, you'll need to follow the following steps!
You'll need valid GoogleService-Info.plist
files for those samples. To get your own GoogleService-Info.plist
files:
- Go to the Firebase Console
- Create a new Firebase project, if you don't already have one
- For each sample app you want to test, create a new Firebase app with the sample app's bundle identifier (e.g.
com.google.SwiftBear
) - Download the resulting
GoogleService-Info.plist
and place it in SwiftSample/GoogleService-Info.plist
Please follow the instructions in SwiftSample/InfoTemplate.plist to generate the right Info.plist file
Please follow the instructions in SwiftSample/AuthCredentialsTemplate.swift to generate the AuthCredentials.swift file.
$ pod update
$ open Samples.xcworkspace
Then select a scheme and run.