- Fix dependency version to Reach5
- Fix variant communication with backend
- Support choosing a variant
- New name for the Pod:
Reach5Google
Change all your import from
import IdentitySdkGoogle
to
import Reach5Google
- Support for Swift Package Manager
- Add privacy manifest.
Warning: There are Breaking Changes
- Add a new method in
Provider
andReachFive
:application(_:continue:restorationHandler:)
to handle universal links - Remove an obsolete method in
Provider
andReachFive
:application(_:open:sourceApplication:annotation:)
- New required property
GIDClientID
in property list to use Google SignIn
- Updated dependency
GoogleSignIn
from 6 to 7
- Update dependency
GoogleSignIn
from 6.2.2 to 6.2.4
Warning: There are Breaking Changes
- The SDK mandates a minimum version of iOS 13
- New method
Provider.application(_:didFinishLaunchingWithOptions:)
to call at startup to initialize the social providers - Parameter
viewController
inProvider.login(scope:origin:viewController:)
is now mandatory - Some error messages may have changed
- Update dependency
GoogleSignIn
from 5.0.2 to 6.2.2
- Upgrade dependency
GoogleSignIn
to version 5.0.2
- Fix login with web provider issue (assert() raising a fatal error)
RequestErrors
is renamed toApiError
ReachFiveError.AuthFailure
contain an optional parameter of typeApiError
- The login with provider requires now the
scope
parameterlogin(scope: [String]?, origin: String, viewController: UIViewController?).
- Use Futures instead of callbacks, we use the BrightFutures library
We use Future instead callbacks, you need to transform yours callbacks into the Future
AppDelegate.reachfive()
.loginWithPassword(username: email, password: password)
.onSuccess { authToken in
// Handle success
}
.onFailure { error in
// Handle error
}
instead of
AppDelegate.reachfive()
.loginWithPassword(
username: email,
password: password,
callback: { response in
switch response {
case .success(let authToken):
// Handle success
case .failure(let error):
// handle error
}
}
)
New modular version of the Identity SDK iOS: