Skip to content

v4.0.0-Xcode8

Compare
Choose a tag to compare
@gPinato gPinato released this 03 Oct 13:06
· 77 commits to master since this release

4.0.0

Added

  • Added active targeted surveys. See the readme for more detail.

Updated

  • Update default smilies and stars.
  • Renamed UsabillaFeedbackForm to Usabilla.
  • Renamed UsabillaFeedbackFormDelegate to UsabillaDelegate.
  • Renamed load() method to initialize(appID: String?). Calling this method is now mandatory to start the SDK.
  • Changed formLoadedCorrectly(_ form: UINavigationController) to formDidLoad(form: UINavigationController).
  • Changed formFailedLoading(_ backupForm: UINavigationController) to formDidFailLoading(error: UBError).
  • Changed formDidClose(_ form: UINavigationController, formID: String, with feedbackResults: [FeedbackResult], isRedirectToAppStoreEnabled: Bool) to formDidClose(formID: String, withFeedbackResults results: [FeedbackResult], isRedirectToAppStoreEnabled: Bool).
  • Changed formWillClose(_ form: UINavigationController, formID: String, with feedbackResults: [FeedbackResult], isRedirectToAppStoreEnabled: Bool) to formWillClose(form: UINavigationController, formID: String, withFeedbackResults results: [FeedbackResult], isRedirectToAppStoreEnabled: Bool).
  • Changed formFailedLoading(_ backupForm: UINavigationController) to formDidFailLoading(error: UBError).
  • Changed loadFeedbackForm(_ appId: String, screenshot: UIImage?, customVariables: [String: Any]?, themeConfig: UsabillaThemeConfigurator) to loadFeedbackForm(_ formID: String, screenshot: UIImage?, theme: UsabillaTheme).
  • Refactored UsabillaTheme. See the readme for more detail.
  • Redesigned the NPS component

Fixed

  • Fixed feedback title not being displayed

Removed

  • Removed showCancelButton property. The cancel button will now be always displayed.
  • Removed the possibility to add specialised custom variables to passive forms. The global custom variables will be used instead from now on.