Skip to content

Releases: chabokpush/chabok-client-js

v1.4.0

14 Jul 11:21
Compare
Choose a tag to compare
  • Add incrementUserAttribute method for incrementing user's numerical attributes. (supports an array of user attributes)
  • Now Chabok supports user revenue with trackPurchase method.
  • Introduce notifDelivery to handle notification impression.
  • Improve behavior of subscribe methods
  • Add getUserAttributes and setUserAttributes method.
  • Now Chabok supports rich notifications (actions, image, direction and vibration)
  • Now Chabok tracks user's installs and add to home screen date (for PWA)
  • Improve notification display in android devices
  • Improve connection management
  • Add analytics for click on notifications (actions and dismiss)
  • Add notificationOpened event for receiving notification actions.
  • Improve updating push notification token
  • Now Chabok supports direct/in-direct notification influence.
  • Now registerAsGuest method support getting guestUserId as parameter
  • UpdateChabokSDKWorker.js file

Upgrade:

  • getUserInfo and setUserInfo is deprecated and replaced with getUserAttributes and setUserAttributes.
  • Moving custom data to data key in publishEvent and track methods.

v1.3.0

03 Jun 09:04
Compare
Choose a tag to compare
  • Ignore resubscribe on channel for users already subscribed
  • Improve behavior of subscribe and unSubscribe methods
  • Detect users adding your website to their home screen
  • Add serviceWorker config for handling multiple service-workers at the same time:
const options = {
      webpush: {
        enabled: true,
        publicKey: 'PUBLIC_KEY'
      },
      silent: false,
      serviceWorker : {
        path : '/service-worker.js',
        scope: '/'
      }
    };

v1.2.3

10 Apr 15:45
Compare
Choose a tag to compare

v1.2.3 2019/04/10

  • Improving token handling on initialization
  • Improving error handling

v1.2.2

06 Mar 20:02
Compare
Choose a tag to compare
  • Let 3 characters length UserIds

v1.2.1

12 Feb 14:32
Compare
Choose a tag to compare
  • Add registerAsGuest method

v1.2.0

04 Feb 14:16
Compare
Choose a tag to compare
  • Redirect notification clicks to / as default path
  • Improve token subscription handling
  • Add tokenStatus
  • Fix subscribe, unsubscribe and publish issue when user was not registered

v1.0.3 2018-10-20

20 Oct 09:57
Compare
Choose a tag to compare
  • Register ChabokSDKWorker.js in root instead of relative addressing

v1.0.2 2018-10-15

15 Oct 10:49
Compare
Choose a tag to compare
  • Add getTags function.
  • Group notifications with groupId

v1.0.1 2018-09-04

04 Sep 13:57
Compare
Choose a tag to compare
  • Implement re-register support inside register method
  • Unregister now removes current installation
  • Add setUserInfo and getUserInfo methods
  • Add addTag and addTags methods
  • Add removeTag and removeTags methods

Don't register automatically on page load

25 Aug 16:51
Compare
Choose a tag to compare
  • Track event
  • Change publish event default to live
  • Add notification onClick url
  • Don't register automatically on page load
  • Fix isRegistered always returning true
  • register method promise now resolves in all situations
  • Respect silent in-app Chabok messages