Skip to content

Releases: pace/cloud-sdk-android

13.2.0

06 Apr 09:41

Choose a tag to compare

Enhancements

  • Implement fueling example app

Fixes

  • Fetch the gas stations to observe first if we don't have the coordinates

Internal

  • Add shellCard payment method and dieselB0 fuel type to GasStation model
  • Remove geofence related code and strings
  • Adjust bump script to automatically create changelog

13.1.1

18 Mar 13:40

Choose a tag to compare

Fixes

  • Fix IllegalStateException in POIKit where the database was accessed on the main thread

13.1.0

10 Mar 16:18

Choose a tag to compare

Enhancements

  • Add the following languages: Czech, French, Portuguese, Dutch, Italian, Polish, Romanian, Russian and Spanish
  • Regenerate all API files with a new headers parameters per request
  • Add new property isOnlineCoFuGasStation to GasStation

Fixes

  • Regenerate all API files to change the return type from Void to ResponseBody
  • Fix wrong setup check error message
  • Check if the manifest request was successful before deserializing the response body
  • Add process payment quick fix for pre auth payments

Internal

  • Replace Kotlin synthetics with Jetpack View Binding
  • Change the screenOrientation for all activities to behind, which uses the same screenOrientation as the activity immediately beneath it in the activity stack
  • Remove JCenter as dependency repository
  • Remove fallback to apps/query endpoint to request local apps if GeoJSON file couldn't be retrieved

13.0.0

10 Feb 14:25

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

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

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

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

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

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

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