Releases: Synerise/android-sdk
Releases · Synerise/android-sdk
SDK and Sample v6.12.1
SDK and Sample v6.12.0
Added
presentOnlyproperty toPromotionsApiQueryto filter promotions to only those currently presented.
Fixed
- ANR issues: key generation on main thread, possible ANR when creating WorkerManager and when getting definitions during push registration.
- Crash when dismissing in-app dialog after Activity destruction.
- Token refresh retry mechanism now clears cached errors to prevent poisoning subsequent retry attempts.
SDK and Sample v6.11.0
Added
SRInApp.getItem,SRInApp.setItem,SRInApp.removeItemandSRInApp.clearmethods to the JS interface in the in-app messaging module, allowing you to manage storage for the in-app message scoped to the current client context. You can read more in the documentation.
SDK and Sample v6.10.1
Fixed
- samsung issue with
client.applicationStarted. Event was not sent properly due to wrong state of runningProcess on Samsung only. - issue with mapping errors from promotions. Now it should correctly map to
ApiErrorBody - issue with double
OnDismissedcallbacks inOnInAppListener
SDK and Sample v6.10.0
Added
includeVoucherstoPromotionsApiQuery.vouchersare now added to thePromotionobject.Promotions.activatePromotion(@NonNull PromotionActivationOptions options)method to activate Promotion and get it.
SDK and Sample v6.9.0
Added
checkGlobalActivationLimitsproperty inPromotionsApiQuerymodel to set param that checks if the promotion is available considering how many times it was activated.
Changed
- The
lastActivityDateproperty inGetAccountInformationnow is optional. It is also deprecated.
SDK and Sample v6.8.2
Changed
- Changes in generating Brickworks requests (new properties in
BrickworksApiQuery:contextandfieldContext. Theparamsproperty was removed).
SDK and Sample v6.8.0
Added
- The
Content.generateBrickworks(apiQuery)method. The new method generates a Brickworks record for the parameters provided in the query object.
Fixed
- issue with bad scaling of images in push notifications.
SDK and Sample v6.7.0
Added
Injector.closeInAppMessagemethod to close programmatically currently opened inapp from the application.
SDK and Sample v6.6.0
Added
SRInApp.getDeviceDatamethod to the JS interface in the in-app messaging module. This method allows fetching device info (operating system, if dark mode is enabled, etc.). You can read more in the documentation.
Changed
- We implemented a new format of input in the
SRInApp.internalMethodmethod in the JS interface in the in-app messaging module. Old parameters still work, but we changed the format for consistency.