Comments (2)
OK, looked at the finished version and the answer is that the codelab gives out of date code which should be the following (as copied from the final xcode version) :
override func viewDidLoad() {
super.viewDidLoad()
GIDSignIn.sharedInstance()?.presentingViewController = self
GIDSignIn.sharedInstance()?.restorePreviousSignIn()
handle = Auth.auth().addStateDidChangeListener() { (auth, user) in
if user != nil {
MeasurementHelper.sendLoginEvent()
self.performSegue(withIdentifier: Constants.Segues.SignInToFp, sender: nil)
}
}
}
from codelab-friendlychat-ios.
@PDMackinnon thanks for reporting this.
@morganchen12 can you submit the fix?
from codelab-friendlychat-ios.
Related Issues (20)
- Firebase iOS Codelab Swift - Step 5 Error HOT 2
- Firebase iOS Codelab Swift Step 9 - swift code out of date HOT 1
- Error when clicking on photo
- fatal error: 'GoogleUtilities/GULURLSessionDataResponse.h' when building with Xcode 12.0.1 HOT 6
- AppDelegate show many Error HOT 1
- Chat displays in single line; UITextField does not support multiple lines
- Unable to build the project - Step 3 HOT 2
- $ git clone https://github.com/firebase/codelab-friendlychat-ios
- Errors in AppDelegate
- Build Failures HOT 3
- Unable to build - Step 3 HOT 1
- Wrong French translation
- Step 9 - Old Verbiage/Options
- codelabs/firebase-ios-swift/ doesn't work with latest Xcode release HOT 3
- Firebase iOS Swift codelab out of sync with Firebase Console
- Typo: step 8 of codelab
- 3 It's better use "pod install --repo-update"
- Step 5 can't Login use google account. HOT 5
- Feature Requests leads to nothing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codelab-friendlychat-ios.