Releases: Iterable/iterable-android-sdk
Releases · Iterable/iterable-android-sdk
3.0.6
3.0.5
3.0.5
Added
- Added a new field to
IterableConfig
-logLevel
- to specify the log level for Iterable SDK log messages
Changed
- The SDK now uses
preferUserId
flag to create a user by userId instead of the deprecatedcreateUserForUserId
API
Fixed
- The SDK now catches any RuntimeExceptions that may sometimes happen when calling
getAdvertisingIdInfo
registerDeviceToken
anddisableToken
now use the email/userId that was set at the time of the call, to handle login/logout correctly
3.0.4
3.0.3
3.0.2
3.0.2
Added
- The SDK now registers the token when a new email/userId is set and disables the old device if email/userId was previously set and then changed. This can be disabled by setting
autoPushRegistration
tofalse
inIterableConfig
.
Fixed
- Fixed a NullPointerException when SDK isn't initialized in Application#onCreate and the app is opened from a push notification
3.0.1
3.0.0
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
orsetUserId
on theIterableApi
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
andIterableCustomActionHandler
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
andregisterDeviceToken
methods are now deprecated
Migration Notes
- If you're using GCM, update your Android app to Firebase Cloud Messaging
- 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);
- Call
registerForPush()
to retrieve the push token and register the device. - User email/userId is now persisted, so you'll only need to call
setEmail
orsetUserId
when the user logs in or logs out. - The SDK now tracks push opens automatically, as long as the SDK is initialized in
Application
'sonCreate
. See README for instructions. Once it is set up, remove all direct calls totrackPushOpen
.
2.2.5 Release
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
2.2.3 Release
2.2.3
Released on 2018-01-22
Added
- Added non-empty data body for notification rendering.
- Added default channel id support.