Skip to content

Releases: Iterable/iterable-android-sdk

3.0.0

30 Jul 21:17
Compare
Choose a tag to compare

3.0.0

Released on 2018-07-30

Added

  • Full FCM support
  • 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.
  • The SDK now stores attribution data within 24 hours of opening the app from a push notififcation or from an App Link in an email
  • Added two handlers: IterableUrlHandler and IterableCustomActionHandler that can be used to customize URL and custom action handling for push notifications
  • Added getPayloadData() method to retrieve the entire notification payload for the notification that opened the app (thanks @steelbrain)

Removed

  • Removed GCM support

Changed

  • Old initialization methods (sharedInstanceWithApiKey) are now deprecated
  • Old registerForPush and registerDeviceToken methods are now deprecated

Migration Notes

  1. If you're using GCM, update your Android app to Firebase Cloud Messaging
  2. Replace IterableAPI.sharedInstanceWithApiKey(...) with the following:
IterableConfig config = new IterableConfig.Builder()
        .setPushIntegrationName("myPushIntegration")
        .setUrlHandler(this)        // If you want to handle URLs coming from push notifications
        .build();
IterableApi.initialize(context, "YOUR API KEY", config);
  1. Call registerForPush() to retrieve the push token and register the device.
  2. User email/userId is now persisted, so you'll only need to call setEmail or setUserId when the user logs in or logs out.
  3. The SDK now tracks push opens automatically, as long as the SDK is initialized in Application's onCreate. See README for instructions. Once it is set up, remove all direct calls to trackPushOpen.

2.2.5 Release

31 Mar 23:27
Compare
Choose a tag to compare

2.2.5

Released on 2018-03-31

Changed

  • Updated requests to not send when there is an exception while constructing the JSON request body.

Fixed

  • Fixed the reference to internal fields in NotificationCompat.Builder for buildVersion 27.

2.2.4 Release

07 Mar 15:21
6a056f1
Compare
Choose a tag to compare

2.2.4

Released on 2018-03-07

Fixed

  • Fixed the load sequence for retrieving a notification image.

2.2.3 Release

22 Jan 21:07
Compare
Choose a tag to compare

2.2.3

Released on 2018-01-22

Added

  • Added non-empty data body for notification rendering.
  • Added default channel id support.

2.2.2 Release

30 Nov 15:52
Compare
Choose a tag to compare

2.2.2

Released on 2017-11-30

Fixed

  • Fixed error in IterablePushRegistration when getDeviceToken returns an empty PushRegistrationObject.

2.2.1 Release

30 Nov 15:51
Compare
Choose a tag to compare

2.2.1

Released on 2017-11-20

Added

  • Added the updateSubscriptions function to create to modify channel, list, and message subscription preferences.

2.2.0 Release

30 Nov 15:51
Compare
Choose a tag to compare

2.2.0

Released on 2017-11-03

Added

  • Added support for html based in-app notifications.

2.1.9 release

20 Oct 16:11
Compare
Choose a tag to compare

2.1.9

Released on 2017-10-20

Fixed

  • Fixed payload path for image url.

2.1.8 Release

28 Jul 15:40
Compare
Choose a tag to compare

2.1.8

Released on 2017-07-28

Added

  • Added support for android image notifications.

Fixed

  • Fixed load error for empty image url.

2.1.7 Release

19 Jul 21:21
Compare
Choose a tag to compare

2.1.7

Released on 2017-07-19

Fixed

  • Fixed in-app button clicks without an action defined.