Skip to content

Releases: chabok-io/chabok-client-android

v3.1.1

06 Jan 06:52
Compare
Choose a tag to compare

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

25 Nov 10:58
Compare
Choose a tag to compare

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 implementing onReferralReceived(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, use setDeferredDataListener(DeferredDataListener) instead.

v3.0.0

09 Nov 09:50
Compare
Choose a tag to compare
  • 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. Use configureEnvironment instead.
  • Deprecate setDevelopment method. Use configureEnvironment instead.
  • Deprecate setEnableRealtime method. Realtime value is configurable in Chabok.sandbox.json or Chabok.production.json file.
  • Call ChabokFirebaseMessaging.refreshToken(token) and ChabokFirebaseMessaging.onMessageReceived(remoteMessage, context) if you implement FirebaseMessagingService and you want Chabok handle push messages too.
  • Remove register and unregister methods. Use login and logout methods instead.
  • Remove GCMReceiver from AndroidManifest.xml.
  • Remove setUserInfo and getUserInfo deprecated methods.
  • Change realtime default value to false.
  • Move isChabokPushNotification to ChabokFirebaseMessaging class

v2.18.2

03 Nov 12:32
88db94c
Compare
Choose a tag to compare
  • Fix Google Play security warning caused by unsafe cryptographic encryption pattern

v2.18.1

18 Sep 06:00
Compare
Choose a tag to compare
  • Improve switching user to guest (after log out).
  • Fix react-native screen status bug.

v2.18.0

03 Sep 11:09
Compare
Choose a tag to compare
  • 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" /> in AndroidManifest.xml.

Upgrade note:

  • Change default behavior of showing all notifications from any other services. Now Chabok doesn't show 3rd party notifications by default.

v2.17.3

31 Aug 14:50
Compare
Choose a tag to compare
  • Improve proguard rules for using reflection.
  • Fix react-native network change bug. error message: BroadcastReceiver components are not allowed to register to receive intents