Granify Mobile SDK 5.0.0

New features (Internal use)

  • Retry failed HTTP requests.
  • Prevent match requests from sending when user is inactive.
  • Allow campaigns to provide their desired size to the SDK.
  • Allow campaigns to control offer events.
  • Add url for current page to the matching request, unique for a product.
  • Removed GranifySDK Prefix from Logs. Logs now prefixed with [Granify].
  • Improved developer docs.
  • Allow close button styling to be configurable per site.
  • Handle session end response from matching.
  • Hide campaigns when unsupported accessibility features are on using restricted state.
  • Make campaign layout available to JS campaigns, allowing campaigns to more accurately choose the correct layout to use.

Breaking changes

  • There are no breaking changes in this version of the SDK, but console logs used for development no longer include the [GranifySDK] prefix, and instead only use the [Granify] prefix.

Resolved

  • Lower Campaign display level to .normal to appear below system UI menus.
  • Ensure the SDK chooses the correct variant when setCurrentProduct is called.