Skip to content

2.1.17

Compare
Choose a tag to compare
@ketanshikharebsft ketanshikharebsft released this 28 Apr 09:44
· 280 commits to master since this release

What's new?

  • Removed automatic collection of the IDFA done by SDK. Now, in order to track IDFA, the host app will need to set the IDFA value to the SDK variable.
//Assign IDFA value manually to below SDK variable on app launch
BlueShiftDeviceData.current()?.deviceIDFA = ASIdentifierManager.shared().advertisingIdentifier.uuidString
  • Provision to opt-out from in-app notifications
BlueShiftAppData.current()?.enableInApp = false
  • Provision to dismiss the slide-in banner in-app messages with a swipe gesture
  • Added extras attribute in the BlueshiftIUserInfo class to set custom user info using dictionary
BlueShiftUserInfo.sharedInstance()?.extras = ["userType":"Premium","phone_number":"+919999999999"]
  • Now SDK will give higher priority to the custom attributes passed to events, this will allow the host app to override the default attributes of the SDK.
  • Added utility methods for enabling and disabling push and in-app messages
  • Removed deprecated alert notification code from the SDK