Releases: SchweizerischeBundesbahnen/SwissPassSDK-iOS
Releases · SchweizerischeBundesbahnen/SwissPassSDK-iOS
4.3.2
4.3.1
Added
Changed
Fixed
- Fixed crashes in SwissPass Mobile due to a bug in libdispatch.
4.3.0
Added
- Added support for extended dynamic range (EDR) QR Codes on iOS 16+
- Added support for opening the new travel card details page on swisspass.ch using the enum value
.infoAboDetails
Changed
- Using an explicit lang query parameter to specify the app language for swisspass.ch URLs.
Fixed
4.2.0
Added
- Added the method
requestSSOLink(withURL:, completionHandler:)
and the.ssoUnavailable
error to theSwissPassLoginClient
Changed
- Updated all SSO endpoints.
Fixed
4.1.0
Added
- Added the SwissPass Mobile card number to the
SwissPassMobileCardViewController
. - Added an optional boolean property
isContactMobilePhoneNumberVerified
to theUserInfo
struct - Added the method
cancelLogin()
to theSwissPassLoginClient
Changed
- Removed support for bitcode.
- Changed the SwissPass card number handling.
- Changed the access token expiration date logic to match the Android implementation.
- Changed the SwissPass Mobile QR-Code payload encoding to match the Android implementation.
- Refactored raw byte handling.
Fixed
- Fixed a memory leak in the
SwissPassMobileClient
. - Fixed a memory leak in the
SwissPassMobileCardViewController
. - Fixed a memory leak in the
SwissPassMobileViewController
. - Fixed a time zone handling in
UserInfo
. - Fixed a rare crash that occured when the user closed the browser before the login completed
4.0.2
Fixed
- The
SwissPassMobileClient
uses the correct hostname when setting up SCNetworkReachability.
4.0.1
Fixed
- The
SwissPassMobileClient
now maps all error types correctly while updating the security element.
4.0
Added
- Added support for OpenId Connect Discovery to load the OpenID provider configuration information. If this fails, a
.providerConfigurationUnavailable
error is returned. - Added the global function
swissPassClientVersion()
that returns the version of the framework. - Added support for an identity assurance level on the
SwissPassLoginUser
and onUserInfo
based on the new enum typeIAL
. Note that currently only IAL1 and IAL2 are supported. - Added a 2nd view to the
SwissPassMobileCardViewController
. - Added a new
SwissPassMobileCardViewControllerDelegate
method which is called when the page view controller did finish a transition.
Changed
- Changed the deployment target to iOS 12
- Removed the previously deprecated parameter
forceRefresh
inrequestToken()
. - Removed both the
TokenProvider
andOAuthServer
. - Removed the typealias
TokenHandler
- Changed the
ClientFactory
to take aSwissPassLoginClient
when creating theSwissPassMobileClient
. - Changed the app2web SSO mechanism to use the new SSO ticket endpoint.
- Removed support for the
tokenManagement
page. - Changed the result of
requestRegistration()
to a.success
only if the registration process was completed successfully, otherwiseSwissPassLoginError.webSessionClosed
is returned. - Extended
SwissPassLoginError.webSessionClosed
with an optional associatedWebSessionDetail
that provides more information about modifications to the user account. - Marked
SwissPassMobileViewController
as deprecated. - Changed the
UserInfo
propertyuserID
to use the keysub
instead ofSPIdPUID
- Changed the
ClientFactory
create methods to throw aClientError
if initialization failed. - Removed the computed property
accountIsLinkedWithCard
on UserInfo.
Fixed
- The status bar appearance is handled correctly when showing the login window.
3.1.2
Fixed
- The fare information navigation bar background is set correctly on iOS 15.
3.1.1
Fixed
- All properties of
SwissPassLoginClient
are now public.
Changed
- Built using Xcode 13.