iOS SDK release notes

Minimum version: Supports iOS 8.0 and above (If you need to support iOS 6 or 7, we have a separate static framework available via CocoaPods and standalone download).

SDK file size: ~2.3mb

New releases and release notes will be posted on GitHub.

 

2.0.3

October 17, 2017

View release notes on GitHub.

2.0.2

July 19, 2017

View release notes on GitHub.

2.0.1

May 15, 2017

View release notes on GitHub.

2.0.0

May 2, 2017

View release notes on GitHub.

1.7.0

March 28, 2017

  • Support for iOS 10.3
  • Adds support to change the app icon via dashboard.
  • Adds support for triggering in-app review prompts via dashboard.

1.6.0

March 28, 2017

  • Fixes a bug where push tokens might not be captured on start.
  • Renames Newsfeed to Inbox.
  • Bugfixes and enhancements.

1.5.1

March 6, 2017

  • Fixes a bug which caused no error or warning logs to be shown.

1.5.0

March 3, 2017

  • Reduces binary size for dynamic framework.
  • Adds Swift support for IDFA macro.
  • Adds improved In-App Messages.
  • Adds support for iOS10 UNNotificationCenter.
  • Bugfixes and enhancements.

1.4.3

January 30, 2017

  • Adds method to specify device geolocation.
  • Bugfixes and enhancements.

1.4.2

December 19, 2016

  • Adds support for rich push detection.
  • Fixes a crash on presenting image picker of photo library with syncResourcesAsync on iOS 10.
  • Fixes an issue with push notifications on iOS6.
  • Additional bug fixes and code improvements.

1.4.1

November 21, 2016

  • Adds control group tracking for in-app messages.
  • Adds access to raw message meta data.
  • Fixes an issue where the LeanplumLocation framework would crash the app on iOS <=8.3.
  • Fixes a bug where in-app messages are being triggered incorrectly when tracking events with parameters.
  • Adds support for setAppVersion.
  • Several internal maintenance and bug fixes.

1.4.0.2

October 04, 2016 - Fixes an issue where an undefined UserNotificationCategories identifier causes a nullpointer exception.

1.4.0.1

September 12, 2016 - Removed unnecessary debug logging. Fixed a public deprecation warning.

1.4.0

September 7, 2016

  • iOS 10 compatibility enhancements.
  • The SDK is now a dynamic framework and requires iOS 8 or above. If you need to support iOS 6 or 7, we have a separate static framework available via CocoaPods and standalone download.
  • The Leanplum iOS location framework automatically collects the user’s GPS location to enable precise geotargeting.

1.3.12

July 18, 2016 - Compatibility, logging and stability enhancements.

1.3.11

May 27, 2016

  • Allows users to explicitly sync variables and message templates from the SDK.
  • Improves compatibility with apps that don't use Leanplum for Push Notifications.

1.3.10.1

May 9, 2016 -  Fixes a bug that may cause the the SDK to not function properly on iOS version 7 or earlier.

1.3.10

May 6, 2016

  • Fixes Newsfeed callback invocation.
  • Fixes incorrect tracking for empty Push Notifications.
  • Fixes incorrect tracking of Displayed for Push Notifications.
  • Fixes the iOS Simulator check. Pre-iOS 4 versions are not supported anymore.
  • Fixes an issue where Leanplum resources were being backed up to the user's iCloud account.
  • Fixes an issue where the app would crash if a player was logged into GameCenter, when resource syncing is enabled.
  • Checks if the user notification types have changed when the app resumes.
  • Fixes an issue when evaluating matching triggers for in-app messages.
  • Fixes an issue where an in-app message is displayed even if it is missing files.

Note: If you are using custom templates you will need to update the withResponder:^BOOL(LPActionContext *context) blocks of the templates that include files in their definition. You can look at how LPMT_INTERSTITIAL_NAME is implemented in LPMessageTemplates.m for a reference.

1.3.9

November 10, 2015

  • Fixes bitcode error in Xcode 7.0.1.
  • Includes a framework for tvOS apps.
  • Adds an option to disable the network indicator when making requests.
  • Fixes an issue with accessing certain localization keys when resource syncing is partially enabled.
  • Fixes an issue where in-app messages may disappear when being presented on ViewController transitions.
  • Adds an option to manually display the location permission prompt at a point other than the app start.

1.3.8.1

Supports building in Xcode 7.

1.3.8

  • Supports the new standalone Newsfeed messaging channel. To send a new message, go to Messaging, and select Newsfeed Message as a Message Type.
  • Uses SSL when connecting to the development server for iOS 9 compatibility.
  • Fixes an issue where images within push notification open actions are not loaded.

1.3.7

  • Moved geofencing and iBeacon support to separate frameworks, which are available in Cocoapods.
  • Add API to simplify state names for trackAllAppScreens.
  • Fixes bug handling nested files in in-app-message templates.

1.3.6

  • Fixes synchronization with dashboard versioning.
  • Improve visual editing stability for UITableViews and UICollectionViews.
  • Fix issue calling trackAllAppScreens from a background thread.

1.3.5

Stability improvements for visual editing and trackAllAppScreens.

1.3.4

Fixes rare bug where enabling visual editing could cause super class viewWillAppear methods to fail to execute.

1.3.3

  • Fixes infinite recursion bug introduced in 1.3.2 when using an old open source LPMessageTemplates.m.
  • Fixes overly aggressively disabling push ask to ask prompt.
  • Adds [Leanplum deviceId] and [Leanplum userId].

1.3.2

  • Adds a new message template "Push Ask to Ask", a customizable dialog that gates the one-time iOS push permission prompt.
  • Adds support for triggering in-app messages on the nth occurrence of a trigger.

1.3.1

  • Supports new Visual UI Editor and Visual Event Manager, which allow you to update your app's interface on the fly and track events without writing any code. To access them, go to UI > Interfaces and UI > Events on the dashboard.
  • Supports new marketing automation features like user attribute triggers, event parameter triggers, user attribute lists, and personalized fields based on the message trigger.

1.2.23

Fixes rare variable synchronization issues.

1.2.22

Geofence and iBeacon support is now optional in the Leanplum SDK, and is disabled by default to minimize dependencies.

1.2.21

Improves stability of syncResources when multithreading.

1.2.20

Fixes issues with resource syncing and adds the ability to set user attribution data within the SDK.

1.2.19

Supports iOS share extensions. Use [Leanplum setExtensionContext:] when the extension is created.

1.2.18

  • Fixes an error that can occur rarely when the app is closed right after making an in-app purchase.
  • New Web Interstitial message type.
  • Added automatic integration with Crittercism to track crashes in the app.

1.2.17

  • Fixes an error that can occur when retrieving user notification settings.
  • Improves compatibility with other 3rd party push notification SDKs.

1.2.16

  • Adds support for geofence and iBeacon region triggers for in-app messages and push notifications.
  • Supports iOS 8 notification categories, actions, and tracks user notification permissions.
  • Fixes a concurrency issue when calling forceContentUpdate on app resume.
  • Allows in-app message and push notification triggers to be based on interactions with other messages.
  • Other stability improvements.

1.2.15

  • Fixes an issue where in-app messages do not rotate properly in iOS 8.
  • Adds an async option to resource syncing, which does not block app execution to index resources.
  • Adds methods to automatically or manually track in-app purchases with receipt validation.

1.2.14

  • Fixes an SSL issue that could allow the SDK to accept unsigned certificates.
  • Allows you to access the user's variant IDs from the SDK.
  • Supports triggering messages based on the app coming to the foreground.

1.2.13

Fixes a data corruption error that can happen when sending certain characters through the API.

1.2.12

Fixes an issue with scheduling triggered push notifications.

1.2.11

Removed registration prompt. You can register devices from the dashboard now.

1.2.10

  • Fixes "Request Out of Order" error that is sometimes seen in development mode.
  • Imposes a limit on the number of files supported by syncResources to prevent API errors and improve performance.

1.2.9

  • Uses more precise iOS models (e.g. iPhone 5s instead of iPhone).
  • Filters or targets that depend on the device model being "iPhone" or "iPad" should use "contains" instead of "is" (e.g. "Device model contains iPhone").
  • Fixes a compatibility issue with Urban Airship's auto setup mode.
  • Adds a new method, [Leanplum trackAllAppScreens], to automatically track each screen as states.
  • Incorporates the in-app messaging templates within the SDK itself to ease setup, although you can still include the source code in your app to modify them.

1.2.8

  • Fixes an exception that can happen in development mode if there are issues connecting to the socket server.
  • Removes references to the advertising ID in the SDK. If you want to use the advertising ID, use [Leanplum setDeviceId:] and pass the advertising ID yourself, or use the macro LEANPLUM_USE_ADVERTISING_ID. We recommend that you call LEANPLUM_USE_ADVERTISING_ID in Development mode (place within the #ifdef DEBUG line in your Leanplum initialization code), so that we continue to remember your device even if you reinstall your app.

1.2.7

Fixes an issue when triggering messages on states. Fixes an issue with passing event and state parameters to the API.

1.2.6

Supports the "Triggered" push notification delivery mode.

1.2.5

  • Adds imageValue method to LPVar to easily support image variables.
  • Adds a method to force content update even after the session started.

1.2.4

Uses a more efficient method for uploading large files.

1.2.3

Prevents the SDK from handling push notifications that were not sent through Leanplum.

1.2.2

  • Defaults to the identifier for vendors instead of the identifier for advertising.
  • Use the SDK method [Leanplum setDeviceIdMode] to switch to the advertising identifier.
  • Adds better exception handling and reporting.

1.2.1

Fixed stability issues when resource syncing with folders.

1.2.0

  • SDK supports in-app messaging and push notification features (in beta).
  • Added color variables.
  • Changed how the language is determined.

1.1.7

Added support for 64-bit ARM for iPhone 5S.

1.1.6

  • Fixes an issue where some files may not get uploaded in development mode.
  • Added compatibility methods for Google Analytics and Flurry.

1.1.5

Fixes the registration prompt in iOS 7 and removes the option for device IDs based on hashed Mac address. We'll still use this for devices below iOS 6 automatically.

1.1.4

Adds ability to update the user ID after it's already set, and ability to force show or hide the registration prompt.

1.1.3

  • New setUserAttributes method, ability to override the email registration prompt, and support for apps that cannot run in the background.
  • We also now upload events occasionally while the app is running with a data connection.

1.1.2

Improves retry logic for analytics, and also fixes a bug where sessions may inadvertently get paused during in-app purchases.

1.1.1

Improves performance when excluding many files from syncing, and fixes a bug where files in certain subdirectories do not get synced.

1.1.0

Improves performance when syncing large numbers of files, and supports the new iOS advertising identifier.

1.0.9

Fixes a bug in the SDK when variables are loaded for the first time.

1.0.8

Improves memory management inside the SDK.


Was this article helpful?
Have more questions? Submit a request