Skip to content

Releases: pace/cloud-sdk-android

9.2.0

01 Sep 15:49

Choose a tag to compare

Enhancements

  • Add logging for successful setup 'PACECloudSDK' and 'IDKit' and for missing mandatory values for setup
  • Open the share sheet by default when the PWA sends image data, e.g. when clicking on a receipt. This behavior can be overridden in AppCallback.onImageDataReceived(bitmap)
  • The location's speed will only affect when app drawers are shown, but not when they are being removed again

Fixes

  • Only show network error in WebView if it is a main frame error
  • Fix bug that third party browser custom tabs were not closed after adding the payment method e.g. PayPal
  • Add methods to IDKit that returns the user's payment methods, transactions and checks the PIN requirements
  • Remove LocationAvailability check since it causes issues on some devices
  • Ensure that AppKit's requestLocalApps will always call the completion callback

Internal

  • Migrate Gradle files from Groovy to Kotlin
  • Use Kotlin Coroutines instead of Future to fetch the PWA manifest and icons
  • Add bearing parameter to GetLocation PWA call

9.1.0

03 Aug 15:55

Choose a tag to compare

Enhancements

  • Add AppRedirect handler to PWA communication to let the client app decide if a redirect from the current PWA to another specified PWA should be allowed

Fixes

  • Adjust handling of too large bounding boxes when requesting tiles

9.0.0

20 Jul 13:49

Choose a tag to compare

Breaking changes

  • Change default authentication mode to AuthenticationMode.NATIVE
  • Request with multiple accept headers correctly generated e.g. GetTermsAPI
  • Remove autoClose option when starting the AppActivity

Enhancements

  • Offer default configurations for all environments for clients that login with PACE ID (IDKit)

Fixes

  • Fix bug that could occur when the user tried to log in but was still logged in with another account
  • Add function to Appkit to request Connected Fueling gas stations by location and radius

Internal

  • Use gas station endpoint as fallback for POI position if none was found in the database when observing a single POI by ID
  • Return location based apps based on appsDistanceThresholdInMeters configuration and not if the location is in the polygon
  • Rework communication between apps and SDK
  • Add isBiometricAuthEnabled handler to PWA communication

8.2.0

12 Jul 09:07

Choose a tag to compare

Enhancements

  • Added new generated request with possibility to set readTimeout times for requests
  • Added classes to generated requests
  • Correctly set content type for request with object schema
  • Add function to POIKit to observe gas stations by ID and location

Internal

  • Update protobuf dependency and regenerate protobuf code

8.1.0

24 Jun 11:38

Choose a tag to compare

Enhancements

  • Added new Stats endpoint to determine total number of connected fueling gas stations

8.0.1

22 Jun 12:14

Choose a tag to compare

Fixes

  • Remove completion lambda from isPoiInRange and return true or false synchronously

8.0.0

22 Jun 07:24

Choose a tag to compare

Breaking changes

  • Deprecated the AppCallback.onTokenInvalid method. Use AppCallback.getAccessToken instead that introduces the isInitialToken flag, which can be left at default value (= false)
  • Implement automatic session handling for apps. If IDKit is used, the SDK will now try to renew the session automatically when an app requests a new token. In this case the getAccessToken AppCallback will no longer be called. If the renewal fails the onSessionRenewalFailed AppCallback may be implemented to specify a custom behavior for the token retrieval. Otherwise the sign in mask will be shown.
  • Speed up isPoiInRange call. Add optional location parameter which will be used instead of the current location if specified. Also make isPoiInRange suspend to call it in a own Coroutine.

Enhancements

  • Add a new onLogin AppCallback that is invoked when the user logs in via an automatic authorization request from the SDK within the PWA (not if IDKit.authorize(...) is called manually). This callback provides the AppActivity context and the authorization result.
  • Intercept the URLs and close the PWA if it is the close redirect URI cloudsdk://close

Internal

  • Add logout handler to PWA communication
  • Automatically refresh the access token and retry the request if it returns status code 401 (unauthorized). If IDKit is not initialized, no session is available or the token renewal failed, the error is passed to the client app.
  • Add getLocation handler to PWA communication
  • Content type and more headers are now generated
  • Authorization header only used for needing requests

7.6.0

10 Jun 20:17

Choose a tag to compare

Enhancements

  • Adjust Geo API to new version 2021-1
  • Add function to AppKit to request Connected Fueling gas stations

Internal

  • Improve selection of app drawer icon size

7.5.2

08 Jun 14:41

Choose a tag to compare

Fixes

  • Change expected getTraceId message from {} to ""

7.5.1

08 Jun 13:17

Choose a tag to compare

Fixes

  • Fix NullPointerExceptions while deserializing JSON messages from PWA