Releases: chabok-io/chabok-client-android
Releases · chabok-io/chabok-client-android
v3.1.1
v3.1.1 2019-01-05
- Fix memory leak issue that related to holding a strong reference to current activity.
- Fix device installation when
pushNotification
disabled in config file. - Improve error handling when SDK initialized from different process than main process.
v3.1.0
v3.1.0 2019-11-25
- Fix subscription to default channel bug.
- Fix crash bug for invalid user identifier in
login
methods. - Fix memory leak issue that related to holding a strong reference to current activity.
- Add
login
methods with callback. - Support referral string with label key in tracker link, you can get referral string by calling
setDeferredDataListener(DeferredDataListener)
and implementingonReferralReceived(label)
method. - Support add values to user attribute array fields by calling
addToUserAttributeArray(attributeKey, attributeValue)
. - Support remove values from user attribute array fields by calling
removeFromUserAttributeArray(attributeKey, attributeValue)
. - Support unset user attribute keys by calling
unsetUserAttribute(attributeKey)
. - Support datetime value for user attributes and events by using
Datetime
class from Chabok SDK. - Support
Bundle
data structure class to add data for user attributes and events.
Upgrade note:
- Deprecate
setOnDeeplinkResponseListener(deeplinkResponseListener)
method, usesetDeferredDataListener(DeferredDataListener)
instead.
v3.0.0
- Add
configureEnvironment
method to automate SDK initalize with Chabok.sandbox.json or Chabok.production.json file. - Now realtime and push notification default options is configurable in Chabok.sandbox.json or Chabok.production.json file.
- Add
login
methods for user registeration. - Add
logout
method for changing user to guest. - Add
login(userId, userHash)
for server to server verification. - Move from GCM to FCM.
- Add
disableSdk
to disable the Chabok SDK. - Add
trackRevenue
method. - Add
logLevel
property for using logs in different levels (debug, warning, info, ...).
Upgrade note:
- Deprecate
init
method. UseconfigureEnvironment
instead. - Deprecate
setDevelopment
method. UseconfigureEnvironment
instead. - Deprecate
setEnableRealtime
method. Realtime value is configurable in Chabok.sandbox.json or Chabok.production.json file. - Call
ChabokFirebaseMessaging.refreshToken(token)
andChabokFirebaseMessaging.onMessageReceived(remoteMessage, context)
if you implementFirebaseMessagingService
and you want Chabok handle push messages too. - Remove
register
andunregister
methods. Uselogin
andlogout
methods instead. - Remove
GCMReceiver
fromAndroidManifest.xml
. - Remove
setUserInfo
andgetUserInfo
deprecated methods. - Change realtime default value to
false
. - Move
isChabokPushNotification
toChabokFirebaseMessaging
class
v2.18.2
v2.18.1
v2.18.0
- Now chabok shows notification body with big text style.
- Add
isChabokPushNotification
method to let user detect if received notification is sent from Chabok Platform. - Now can disable Chabok socket by adding
<meta-data android:name="com.adpdigital.push.client.DISABLE_REALTIME" android:value="TRUE" />
inAndroidManifest.xml
.
Upgrade note:
- Change default behavior of showing all notifications from any other services. Now Chabok doesn't show 3rd party notifications by default.