Skip to content

2.2.6

Compare
Choose a tag to compare
@ketanshikharebsft ketanshikharebsft released this 03 Aug 14:22
· 80 commits to master since this release
ea058c7

What's new?

  • Added support for the special deep link - blueshift://req-push-permission for in-app notifications to display push permission dialog on in-app action. If a user clicks on an in-app notification button with this special deep link then,
    • If push permission is not asked to the user, then SDK will show a push permission dialog.
    • If user push permission is already enabled, then nothing will be displayed after clicking on the in-app notification button.
    • If push permission is denied or push notifications are disabled, then the SDK will show a popup asking to go to the app settings to enable push notifications. The text of this popup is customizable and can be configured using Localizable strings, refer to this document to know more.
  • Provision to change the core data files location using config.sdkCoreDataFilesLocation flag. The default location for SDK files will be the Document directory. If you don't want to use the Document directory, you can use the Library directory and SDK will take care of moving existing core data files(if present) to the Library directory.
config.sdkCoreDataFilesLocation = .libraryDirectory
  • Added fix to not fire delivered event for expired in-app notifications, if received any via in-app API.
  • Added support for the Provisional Push notification authorization.
  • Optimised the carrier name collection logic by caching the carrier name to avoid fetching it every time.
  • Added default calendar and locale setting to create the timestamp.
  • Added notification presentation options based on the iOS versions.
  • Improved logging.