Yozio SDK v2.0.1 Changelog (iOS)

Yozio iOS SDK v2.0.1 is now available for integration and includes some new features

New Features

  • Swift Support
  • Cocoapod Support
  • 100% match accuracy for new installs

Swift

In order to use the Yozio SDK with Swift, you will need a bridging header file that allows Swift apps to use Objective C code. You can simply add the Yozio SDK to your app, and Xcode will prompt you to create a Bridging Header. Confirming here will automatically create a bridging header, Name-Of-Your-Module-Bridging-Header.h.

Alternatively, you can create your own Bridging-Header.h file.

In the bridging header file, you will need to include the Yozio.h file

1
#import <yozio.h> 

Please refer to this (https://developer.apple.com/library/ios/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html) article for more information on bridging header files.

Cocoapod

Our Cocoapod name is YozioIOSSDK

Migration Path

For users on version 1.1.13 and below, the migration path is simple.

  • We are deprecating [Yozio trackDeeplink:url]. Replace all instances of [Yozio trackDeeplink:url] with [Yozio handleOpenURL:url]
  • Add the SafariServices.framework to your project (Build Phase -> Link Binary With Libraries -> +).
  • The yoziologgingenabled and the yoziorequesttimeout flags have been renamed to logging_enabled and request_timeout respectively