Releases: Synerise/android-sdk
Releases · Synerise/android-sdk
SDK and Sample v6.14.0
Fixed
- concurrency problem in
SRInApp.internalMethods
Added
Injector.inAppContextproperty to pass HashMap to InApps.Injector.setInAppContext(HashMap<String, Object> context)method for setting the context.Injector.notifyInAppContextChangemethod to trigger callback inside InApp (JS)onCustomMethod(String name, HashMap<String,Object> params, InAppMessageData data, InAppCustomMethodCompletion completion)toOnInAppListener- methods to JS
customMethod(name, params, timeoutMs) → Promise,getContextFromApp(),onContextFromApp(context) - To learn how to use the new methods and properties, see https://hub.synerise.com/docs/campaign/in-app-messages/creating-inapp-templates/creating-inapp-template#receive-context-from-the-application
SDK and Sample v6.13.0
Added
- "Client/destroySession" method to internal methods in InApps.
SDK and Sample v6.12.1
Fixed
- change of enum values passed as a "type" inside registerForPush request.
- minor ANR issues fixes.
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.