|
1 | 1 | # Optimizely Android X SDK Changelog
|
| 2 | +### 1.6.0 |
| 3 | +Febuary 3, 2018 |
| 4 | + |
| 5 | +- Release 1.6.0 |
| 6 | + |
| 7 | +This release adds support for bucketing id (By passing in `$opt_bucketing_id` in the attribute map, you can override the user id as the bucketing variable. This is useful when wanting a set of users to share the same experience such as two players in a game). |
| 8 | + |
| 9 | +This release also deprecates the old notification broadcaster in favor of a notification center that supports a wide range of notifications. The notification listener is now registered for the specific notification type such as ACTIVATE and TRACK. This is accomplished by allowing for a variable argument call to notify (a new var arg method added to the NotificationListener). Specific abstract classes exist for the associated notification type (ActivateNotificationListener and TrackNotificationListener). These abstract classes enforce the strong typing that exists in Java. You may also add custom notification types and fire them through the notification center. The notification center is implemented using this var arg approach in all Optimizely SDKs. |
| 10 | + |
| 11 | +*New Features* |
| 12 | + |
| 13 | +- Added `$opt_bucketing_id` in the attribute map for overriding bucketing using the user id. It is available as a static string in DecisionService.ATTRIBUTE_BUCKETING_ID |
| 14 | +- Optimizely notification center for activate and track notifications. |
| 15 | + |
| 16 | +*Breaking change* |
| 17 | +There is a new abstract method on NotificationListener notify(args...); |
| 18 | + |
| 19 | +### 1.5.1 |
| 20 | +November 1, 2017 |
| 21 | + |
| 22 | +- Release 1.5.1 |
| 23 | + |
| 24 | +*New Features* |
| 25 | + |
| 26 | +- Numeric metrics |
| 27 | +- Client-side programmatic forced variations. |
| 28 | +- Example of synchronous and asynchronous initialize in test-app |
| 29 | + |
| 30 | +*Bug Fixes* |
| 31 | + |
| 32 | +- Remove Espresso dependency |
| 33 | +- Narrow proguard rules |
| 34 | +- Last modified fixed so that multiple project files can be used. |
| 35 | +- Call start listener if there is an exception. |
| 36 | +- Example of overriding Gson and android-logger in test-app gradle file. |
| 37 | +- Fix crash on API 17 (missing annotation). |
| 38 | +- Support for Android O (please see developer docs for details). Basically, Android O and above will use JobScheduler and pre Android O will continue to use AlarmService. This is done through a class called the JobWorkService which allows you to keep your Service and IntentService intact. Developers can piggyback on this method and keep thier IntentServices and use the JobWorkService. |
| 39 | +- Proguard rules were broken and were causing event payload to be stripped to single character keys. |
| 40 | + |
| 41 | +*Breaking Changes* |
| 42 | + |
| 43 | +- Same as 1.4.0 see below. |
| 44 | +- Need to add permissions to both receivers in your manifest if you plan on using the EventRescheduler or the DatafileRescheduler (see test_app manifest for example) https://github.com/optimizely/android-sdk/blob/master/test-app/src/main/AndroidManifest.xml |
| 45 | +- Updated build tools and target to API 26 which will cause proguard warnings if you are not using the latest build tools. |
| 46 | +- Also for Android O, you must register for the SUPPLICANT_CONNECTION_CHANGE_ACTION intent filter in code (see the test-app for an example). |
| 47 | + |
2 | 48 | ### 1.5.0
|
3 | 49 | October 30, 2017
|
4 | 50 |
|
|
0 commit comments