Преглед изворни кода

Prep 6.0.1 release (#34)

* Update changelog for 6.0.1 release.

* Update Podspec and SPM version strings for 6.0.1 release.

* Improve docs for addScopes.

* Update 6.0.1 release date.

* Add link to related pull request.

* Fix formatting.
Peter Andrews пре 4 година
родитељ
комит
a8446846de
4 измењених фајлова са 9 додато и 2 уклоњено
  1. 4 0
      CHANGELOG.md
  2. 1 1
      GoogleSignIn.podspec
  3. 3 0
      GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h
  4. 1 1
      Package.swift

+ 4 - 0
CHANGELOG.md

@@ -1,3 +1,7 @@
+# 6.0.1 (2021-7-21)
+- Fixes nested callbacks not being called for signIn and addScopes methods.
+  ([#29](https://github.com/google/GoogleSignIn-iOS/pull/29))
+
 # 6.0.0 (2021-7-13)
 - Google Sign-In for iOS is now open source.
 - Swift Package Manager support.

+ 1 - 1
GoogleSignIn.podspec

@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
   s.name             = 'GoogleSignIn'
-  s.version          = '6.0.0'
+  s.version          = '6.0.1'
   s.summary          = 'Enables iOS apps to sign in with Google.'
   s.description      = <<-DESC
 The Google Sign-In SDK allows users to sign in with their Google account from third-party apps.

+ 3 - 0
GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h

@@ -126,6 +126,9 @@ typedef void (^GIDDisconnectCallback)(NSError *_Nullable error);
 
 /// Starts an interactive consent flow to add scopes to the current user's grants.
 ///
+/// The callback will be called at the end of this process.  If successful, a new `GIDGoogleUser`
+/// instance will be returned reflecting the new scopes and saved sign-in state will be updated.
+///
 /// @param scopes The scopes to ask the user to consent to.
 /// @param presentingViewController The view controller used to present `SFSafariViewContoller` on
 ///     iOS 9 and 10.

+ 1 - 1
Package.swift

@@ -17,7 +17,7 @@
 
 import PackageDescription
 
-let googleSignInVersion = "6.0.0"
+let googleSignInVersion = "6.0.1"
 
 let package = Package(
   name: "GoogleSignIn",