Skip to content

Releases: pace/cloud-sdk-android

13.0.0

10 Feb 14:25
Compare
Choose a tag to compare

Breaking Changes

  • The connectedFuelingStatus property of the CofuGasStation is now nullable so that the Cofu gas station is not skipped in the cache loading if this property is absent in the API response

Enhancements

  • Add the function TokenValidator.paymentMethodKinds(accessToken) to return a list of payment method kinds that are allowed to be onboarded for the passed accessToken (see function documentation for further information)

Fixes

  • Fix a bug where the additionalParameters of the CustomOIDConfiguration were overwritten by the values from the PACECloudSDK.additionalQueryParams

Internal

  • Reduce requests to the token endpoint by refreshing the token only once if multiple API requests fail with 401 - Unauthorized
  • Replace kotlin synthetics with jetpack view binding

12.2.0

14 Jan 14:33
Compare
Choose a tag to compare

Enhancements

  • Add the possibility to open authorization and end session requests in a WebView instead of the custom tab. This behavior can be controlled with the new integrated attribute of the oidConfiguration of the SDK setup configuration. Set integrated to true, if you want to open the authorization and end session requests in a WebView. Set it to false (default), if you want to open them in the custom tab as before.

12.1.0

10 Jan 12:21
Compare
Choose a tag to compare

Enhancements

  • Add environment based URL extensions. All extensions are defined in the URL object e.g. URL.dashboard to get the URL of the dashboard app of the set environment. Environment.$ENV.$url is deprecated now.

12.0.1

07 Dec 15:39
Compare
Choose a tag to compare

Internal

  • Regenerate communication code and rewrite the openUrlInNewTab PWA request to handle the new integrated parameter. If the integrated parameter is set to true, then the URL will be loaded in a new WebView instead of the custom tab.

12.0.0

06 Dec 11:19
Compare
Choose a tag to compare

Breaking Changes

  • Simplified setup of IDKit. SDK now decides which OIDConfiguration should be used so that clients only need to provide a CustomOIDConfiguration with a clientId and redirectUri.

Enhancements

  • Add additionalProperties property to GasStation model
  • Set pace.cloud as default value of the domainACL property in the PACE Cloud SDK configuration

Fixes

  • Add default ProGuard rules to fix possible problems when client apps use ProGuard

Internal

  • Add ACCESS_COARSE_LOCATION permission check in SystemManager
  • Update Room's version to 2.4.0-beta02 to fix a bug on Apple's M1 chips

11.1.0

19 Nov 14:56
Compare
Choose a tag to compare

Enhancements

  • Introduce shareText PWA communication handler, which by default opens the system share sheet for sharing text. This behavior can be overridden in AppCallback.onShareTextReceived(text, title).

11.0.1

18 Nov 09:08
Compare
Choose a tag to compare

Fixes

  • IMPORTANT: We have updated all dependencies to the latest stable versions to fix possible security vulnerabilities in kotlin-reflect. We have also updated target and compile SDK versions to API level 31 (Android 12).

Internal

  • Change routing URL endpoint to a pace.cloud domain

11.0.0

09 Nov 15:04
Compare
Choose a tag to compare

Breaking changes

  • Combine IDKit setup with PACECloudSDK setup. IDKit.setup(...) is no longer accessible. The IDKit is now initialized via PACECloudSDK.setup(...). Therefore an optional OIDConfiguration parameter was added to the Configuration class of the PACECloudSDK, which must be initialized with at least the clientId and the redirectUri.
  • Change properties of CofuGasStation from var to val

Enhancements

  • Add the attribute properties: Map<String, Any> to the CofuGasStation which includes different information of the gas station e.g. app URL

Fixes

  • Adjust handling of utm parameters

Internal

  • Adjust TOTP secret handling
  • Send 499 status when user cancels login
  • Add appAuthRedirectTheme as metaData in Manifest

10.2.2

20 Oct 14:26
Compare
Choose a tag to compare

Fixes

  • Fix generated fueling api 2021-2

10.2.1

20 Oct 11:56
Compare
Choose a tag to compare

Internal

  • Add request-id from backend to log message if request fails
  • Remove default timeout in PWA communication API
  • Use minified GeoJSON to save bandwith and change Default of geoAppsScope to pace-min
  • Regenerate fueling API 2021-2