google / GoogleSignIn-iOS

Enables iOS and macOS apps to sign in with Google.
https://developers.google.com/identity/sign-in/ios
Apache License 2.0
455 stars 181 forks source link

Fix bug to check for verify completion property in internal options instead of sign in's. #450

Closed brnnmrls closed 4 weeks ago

brnnmrls commented 4 weeks ago

The following will ensure once the addCompletionCallback method is called, verifyCompletion in our internal options is checked whereas currently the completion property for the sign-in flow is being checked. Also, the following initializes our scopes array with NSMutableArray to prevent dump values.