Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 27 Mar 18:07
· 49 commits to main since this release
590ea5b

What's Changed

  • Controlled Loading: This allows you to control when the Ketch SDK will begin loading.
    • Adds a autoLoad parameter which controls whether the SDK will load automatically when the KetchServiceProvider is rendered. The default value is false.
    • Adds a load() method to the useKetchService() hook. This method can be called to trigger loading if autoLoad was set to false
    • Upon loading, the Ketch SDK will do the following:
      • Determines if the auto initiated experience should be shown initially, based on several factors.
      • Sets privacy string keys in Shared Preferences and NSUserDefaults.
      • Emits various events based on the initial state (e.g. onConsentUpdated, onRegionUpdated, etc.). Callback functions are available for these events in the Event Handlers section below.
  • getConsent() fixes: Fixes an issue causing the Consent object returned by the getConsent() method to sometimes not have the correct protocol string values

Full Changelog: v0.6.13...v0.7.0