Skip to content

Releases: pace/cloud-sdk-android

8.2.0

12 Jul 09:07
Compare
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
Compare
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
Compare
Choose a tag to compare

Fixes

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

8.0.0

22 Jun 07:24
Compare
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
Compare
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
Compare
Choose a tag to compare

Fixes

  • Change expected getTraceId message from {} to ""

7.5.1

08 Jun 13:17
Compare
Choose a tag to compare

Fixes

  • Fix NullPointerExceptions while deserializing JSON messages from PWA

7.5.0

02 Jun 18:50
Compare
Choose a tag to compare

Enhancements

  • Make app drawer more robust by increasing distance threshold and checking whether same apps are returning when requesting local apps
  • Add option to IDKit.setPINWithBiometry(...) to authenticate with the device PIN, pattern, or password instead of biometry (defaults to true)

Fixes

  • Implement a default handler for getConfig PWA message which returns null to prevent waiting for result
  • Fix host in key under which secure data is persisted

Internal

  • Use LocationProvider.currentLocation() first and LocationProvider.firstValidLocation() as fallback to speed up the verify location call in the PWA
  • Refactor LocationProvider so that every one-time location e.g. used in isPoiInRange or requestLocalApps is returned inline
  • Decrease getConfig PWA message handling timeout to 5 seconds
  • Set utm_source per default and add defined list of default utm_params to make sure these params won't be removed
  • Return location accuracy in verifyLocation PWA message response
  • Add option to authenticate payments with the device PIN, pattern, or password instead of biometry

7.4.0

12 May 17:21
Compare
Choose a tag to compare

Enhancements

  • Add functions to launch the authorization and end session request as well as the handling of the response inline

Internal

  • Add default implementation of onTokenInvalid callback which automatically tries to refresh the token and shows the login form in case of error
  • Refactor isPoiInRange check so that it no longer checks if the position is within the POI's polygon, but if beeline to the POI is within 500m

7.3.1

10 May 16:39
Compare
Choose a tag to compare

Fixes

  • Ensure that additionalQueryParams is added to all PWA URLs