Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Releases: Iterable/objc-sdk

5.0.3

11 Aug 01:04
Compare
Choose a tag to compare

5.0.3

Fixed

  • In-app messages are now only consumed if they are shown

5.0.2

08 Aug 01:32
Compare
Choose a tag to compare

5.0.2

Fixed

  • The new email is now persisted when updateEmail: is called
  • SDK now ensures that only one in-app message can be shown at a time

5.0.1

24 Jul 23:34
Compare
Choose a tag to compare

5.0.1

Fixed

  • Fixed spawnInAppNotification to not block the current thread when creating the in-app notification

5.0.0

11 Jul 00:27
Compare
Choose a tag to compare

5.0.0

Added

  • Added support for push action buttons
  • Added a new SDK initialization method that takes IterableConfig object with configuration options
  • User ID/email is now decoupled from SDK initialization. It can be changed by calling setEmail: or setUserId: on the IterableAPI instance.
  • Added automatic detection of APNS/APNS_SANDBOX, as long as both pushIntegrationName and sandboxPushIntegrationName are set in IterableConfig
  • The SDK now stores attribution data within 24 hours of opening the app from a push notififcation or from a Universal Link in an email
  • Added two delegates: IterableUrlDelegate and IterableCustomActionDelegate that can be used to customize URL and custom action handling for push notifications

Changed

  • Old initialization methods (sharedInstanceWithApiKey:) are now deprecated
  • Old registerToken methods are now deprecated

Fixed

  • Added safety checks for cases when email or userId is nil

Migration Notes

  1. Replace [IterableAPI sharedInstanceWithApiKey:...] with the following:
IterableConfig *config = [[IterableConfig alloc] init];
config.pushIntegrationName = "myPushIntegration_Prod";
config.sandboxPushIntegrationName = "myPushIntegration_Dev";
config.urlDelegate = self;          // If you want to handle URLs coming from push notifications
[IterableAPI initializeWithApiKey:@"YOUR API KEY" launchOptions:launchOptions config:config];
  1. Since both pushIntegrationName and sandboxPushIntegrationName are now set in the configuration, call [[IterableAPI sharedInstance] registerToken:token] when registering the token, and it will choose the correct integration name automatically.
  2. [IterableAPI clearSharedInstance] will do nothing if you initialize the SDK with the new initialization method. If you were previously calling [IterableAPI clearSharedInstance] to reinitialize the API with a new user, just call setEmail: or setUserId: instead.
  3. User email/userId is now persisted, so you'll only need to call setEmail: or setUserId: when the user logs in or logs out.
  4. The SDK now tracks push opens automatically, as long as calls to userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler: are passed to it. See README for instructions. Once it is set up, remove all direct calls to trackPushOpen:.

4.4.7

15 May 21:39
Compare
Choose a tag to compare

4.4.7

Fixed

  • Fixed an unhandled exception in response handling on network errors

4.4.6

15 May 21:38
Compare
Choose a tag to compare

4.4.6

Added

  • Added the updateEmail function to update the user's email.

Fixed

  • SDK methods now properly handle 4xx and 5xx status codes, calling onFailure with the error message received from the server.

Fixed artifacts for Deeplink Manager

01 Feb 21:21
Compare
Choose a tag to compare

4.4.5

Fixed

  • Fixed missing compiled version of the IterableDeeplinkManager.

Fixed getAndTrackDeeplink logic to not follow redirects

11 Dec 20:34
Compare
Choose a tag to compare

4.4.4

Changed

  • Changed logic for getAndTrackDeeplink to not follow re-directs and return the first url redirect location instead.

Fixes SendRequest FailureHandler

11 Dec 20:34
Compare
Choose a tag to compare

4.4.3

Fixed

  • Fixes nil data in sendRequest onFailureHandler

Fixes artifacts for updateSubscriptions release

10 Nov 15:30
Compare
Choose a tag to compare

4.4.2

Fixed

  • Fixes outdated artifacts file for updateSubscriptions release