Releases: Leanplum/Leanplum-Android-SDK
Leanplum Android SDK 4.0.0
Splits Android SDK into smaller modules: leanplum-core, leanplum-gcm, leanplum-fcm, leanplum-location. Please follow the instructions here to correctly compile your project:
https://www.leanplum.com/docs/android/upgrading-to-android-4
Adds support for modification of extended layout in BigPictureStyle with 2 lines of text at LeanplumPushNotificationCustomizer.
Removes deprecated Leanplum activities, please use LeanplumActivityHelper to track your activities automatically.
Bugfixes and enhancements.
Bug Fixes
- gradle: Fix gradle warning. (#139) (eceee71)
- localPush: Fix local push notification does not show. (#153) (26f2bc7)
- location: fix location issue. (#154) (989fa1e)
- LocationManagerImplementation: Adds try/catch to avoid crashes. (d1afa34)
- NPE: Adds null checkers at VarCache.safeDiff. (4f68767)
- NPE: Adds null checker at LocationManagerImplementation.setRegionsData. (8513155)
- NPE: Adds null checker for LP-8099. (fe55695)
- proguard: Fixes proguard issue for activation gcm and fcm modules. (#151) (fcfaaec)
- push: Fix push notification does not show without customizer. (#152) (fab09da)
Features
- BigPictureCustomizer: Adds support for modification of extended layout… (#145) (882e070)
- gradle: Rename LEANPLUM_ARTIFACT_ID to leanplum. (#143) (93c1034)
- gradle: adding support for android studio 3.0 and gradle 4.1 (#112) (f5c0b59)
- gradle: Keep only leanplum-core in Leanplum Leanplum-Android-SDK. (#155) (bc65d91)
- Modularization: init split sdk GCM, FCM, Push. (8409162)
- push: Adds customizer for Notification.Builder. (#137) (58248a5)
- push: Checks if client compiles leanplum-gcm and leanplum-fcm at… (#150) (3c2208e)
- push: Migrate to Job Scheduler LP-8145. (#131) (dfece77)
- registrationId: Checks registrationId for empty string - LP-8256. (#128) (79e4926)
Leanplum Android SDK 3.0.2
Adds support for android studio 3.0 and gradle 4.1.
Adds a callback for when Inbox was synced via forceContentUpdate.
Adds getDeviceId method.
If you are using an Adaptive Icon in Android O, an outstanding Android bug could cause an issue requiring a factory reset of the device. If you are using Adaptive Icon, you must include a regular icon named "leanplum_default_push_icon.png" to the "drawable" folder in order to avoid this. There is a Google issue: https://issuetracker.google.com/issues/68716460.
Bug Fixes
- AndroidO/AdaptiveIcons: Fix for System crash when the client receive… (#120) (ef79171)
- tests: Fix for failed testRegister test. (#107) (01494d2)
- tests: fix for triggered messages tests. (#106) (b1138ff)
Features
- constants: Change SDK version to 3.0.2-SNAPSHOT. (cffde82)
- gradle: adding support for android studio 3.0 and gradle 4.1 (#112) (f5c0b59)
- gradle: Bump COMPILE_SDK_VERSION to 27. (#119) (5a9552e)
- gradle: Bump support library to 27.0.2 (3c4781d)
- gradle: bump support library to 27.0.2 (#122) (8c2ef25)
- inbox: Callback for when Inbox was synced via forceContentUpdat… (#111) (1fe732b)
- Leanplum: Adds getDeviceId method. (#118) (ca5c8c0)
Leanplum Android SDK 3.0.1
Banner alignment features. Support >1 line of text on Android push notifications containing images. Bug fixes.
Bug Fixes
- appId: Trim() app keys to avoid IllegalArgumentException in User… (#102) (4e526f1)
- inbox: Fix for parsing inbox data field - LP-6235. (4746edf)
- inbox: fixing null pointer exception (8c24345)
- inbox: fixing pr comments (06b4e4f)
- LocalPush: fix for locally triggered notifications appear after notification was cancelled. (e844470)
- messages: fix for show more than one message on the same triggered event. (#105) (10da4d1)
- tests: Fix for failed testRegister test. (#107) (5e7590c)
- Retrieve chained message if it doesn't exist locally yet. (2a7190e)
Features
Leanplum Android SDK 3.0.0
Adds support for Android O (API Level 26).
Increases minimum API Level from 10 to 14.
Bugfixes and enhancements.
Additional Notes for Google Play Services: If you require location services, we suggest to use version 10.2.4. With newer versions of the location library (>10.2.4), the Google Play Services version on the device needs to match at least the version used in your app to work. Some devices do not support upgrading to newer versions of Google Play Services yet.
Bug Fixes
- assets: adding leanplum branding assets (5505015)
- Geofencing: change logging type from error to warning for Geofencing support message. (45094ea)
- gradle: increase compile dependencies from 10.0.0 to 14.0.0 (19be820)
- HtmlTemplate: Now event parameter value can be used in the html template. (2275602)
- inbox: check if date is null, adding doc (85e8ddf)
- inbox: fixing null pointer exception (8c24345)
- inbox: fixing pr comments (06b4e4f)
- lifecycle: fix for two onResume come on Leanplum.start. (9b63cc8)
- LocalPush: fix for locally triggered notifications appear after notification was cancelled. (e844470)
- networking: fix LP-5245 - start ResponseCallback from different thread. (82bfde5)
- networking: Set MAX_EVENTS_PER_API_CALL to 5000 for API level <=17. (57f83b9)
- Networking: keep requests when status code from an HTTP response message equals -1. (0539475)
- notifications: null check for intent extras (8d692d3)
- NPE: fix NPE at VarCache.java. (647c9f6)
- permission: fix runtime exception if location permission is not granted (0e84f77)
- proguard: adding -dontshrink param to proguard to avoid removing unused classes (67a6a72)
- push: make LeanplumFcmServiceHelper public. (07b196c)
- push: make LeanplumFcmServiceHelper public. (#94) (61b1ae6)
- Push: add null checker at LeanplumPushService.openNotification method. (78293a9)
- socket: Fix for potential NPE at handleApplyVarsEvent. (#95) (bf2b858)
- SQLite: handle SQLite errors. (5eb4de4)
- synchronized: suspected simultaneous access to ArrayList from multiple threads. (5d88fa5)
- tests: fix for broken tests by renaming enableServices to enableFcmServices and enableGcmServices. (3d65b56)
- tests: Fix for broken unit tests by renaming method isManifestSe… (#93) (a0a1c9c)
- tests: Fix for broken unit tests by renaming method isManifestSetUp to isManifestSetup. (1b1505a)
- tests: making test code sharable to other modules (3956145)
- user attributes: LP-3626 - fix for setting a user attribute to null does not clear it in the User Profile. (c629563)
Features
- api: adding purchase track method to manually track purchases o… (#77) (e2aa996)
- badge: adding badges (28b600b)
- badge: using develop branch for build status (f9f45fa)
- badge: using svg logo (b8f7d14)
- channel: add channel to notification "Your device is registered.”. (1cb0879)
- channel: fixing for potential NPE when createNotificationChannel return null. (239fcd8)
- channel: fixing json parsing issue (#79) (88a7ad3)
- channel: Move isNotificationChannelSupported method to BuildUtil class. (#92) (74ebd7f)
- channel: Move isNotificationChannelSupported method to BuildUtil class. (#92) (155e1dd)
- channels: adding support for notification channels (0d196bb)
- channels: check if notifications are supported (#90) (582fe7f)
- channels: check if notifications are supported (#90) (7111463)
- gradle: bump SUPPORT_LIBRARY_VERSION to 26.1.0 (#96) (f78e1b7)
- gradle: bump SUPPORT_LIBRARY_VERSION to 26.1.0 (#96) (4b3ff24)
- manifest: adding check for fcm services (a55acaf)
- manifest: adding component check when setting up gcm (55771ba)
- manifest: check against current packageName (5870612)
- manifest: fixing a potential crash when switching from GCM to FCM (53645e0)
- manifest: fixing pr comments (08dfc81)
- manifest: fixing pr comments (331f977)
- manifest: fixing pr comments (ebb0800)
- manifest: moving manifest related methods to manifest helper class (5309209)
- manifest: removing manifest parser (412af11)
- manifest: removing unused constants (0f45a4d)
- notifications: adding intent action (94ee339)
- notifications: adds ability to customize which activity will be launched (ce38a4c)
- notifications: using action without package name (352e6e5)
- proguard: adds consumer proguard to be bundled with aar (ccbcccf)
- push: fixing component check (#88) (cab1532)
- sequentially: send events to the server sequentially. (2a0e416)
- service: fixing a crash if service is started from broadcast receiver (0eb3799)
- SQLite: LP-4345 adding SQLite. (9cacc28)
- tests: opensourcing tests (365f4ca)
- push: Send stored push token as a parameter of start call and when we got a new token. (ba74d29)
Reverts
Deprecations
- deprecated all com.leanplum.activities
due to rising minimal API to 14. This class will be removed in a fu...
Leanplum Android SDK 2.2.3
Bugfixes and enhancements.
Leanplum Android SDK 2.2.2
Built from open sourced repository. Bugfixes and enhancements.