Releases: chabok-io/chabok-client-ios
Releases · chabok-io/chabok-client-ios
v2.4.0
v2.3.0-deleted
- Improve and enhance for installation requests.
- Fix bug calling callback in
login:userAttributes
method.
v2.2.1
v1.20.3
v2.2.0
- Add
publishLocation
method for publishing location events. - Support
Datetime
in publishing events. - Improve the user installation process.
- Improve
publishEvent
behavior. - Add
unsetUserAttributes
method - Add
decrementUserAttribute
methods. - Fix bug sets user attributes with the login method.
v2.1.0
2.1.0
- Support referral string with label key in tracker link, you can get referral string by implementing
chabokReferralResponse:(NSString *)referralId
method fromPushClientManagerDelegate
. - Support add values to user attribute array fields by calling
addToUserAttributeArray:(NSString *)attributeKey attributeValue:(NSString *)attributeValue
. - Support remove values from user attribute array fields by calling
removeFromUserAttributeArray:(NSString *)attributeKey attributeValue:(NSString *)attributeValue
. - Support unset user attribute keys by calling
unsetUserAttribute:(NSString *) attributeKey
. - Support datetime value for user attributes and events by using
Datetime
class from Chabok SDK.
v2.0.1
v2.0.0
2.0.0
- Add
configureEnvironment
method to automate SDK initalize with Chabok.sandbox.plist or Chabok.production.plist file. - Add
login
methods for user registeration. - Add
logout
method for changing user to guest. - Add
logLevel
property for using logs in different levels (debug, warning, info, ...). - Remove warning messages.
- Now realtime and push notification default options is configurable in Chabok.sandbox.plist or Chabok.production.plist file.
- Add new iPhone device models (iPhone 11, iPhone 11 Max, iPhone 11 Pro Max) to SDK.
- Automate gathering data analytics for notification, by swizzling
UNUserNotificationCenterDelegate
methods. - Automate getting push notification token and detecting app launch, by swizzling
UIApplicationDelegate
methods.
Upgrade:
-
Remove
register
andunregister
methods. Uselogin
andlogout
methods instead. -
Remove
registerApplication
method (initialization is done automatically). -
Depricate
setDevelopment
method. UseconfigureEnvironment
instead. -
Change
DeliveryMessage
toPushClientDeliveryMessage
. -
Change realtime default value to
NO
. -
Remove
enableLog
property. UselogLevel
property instead. -
By Swizzling
UIApplicationDelegate
methods, the following methods are removed:
//Objective-C
- [PushClientManager.defaultManager application:didFailToRegisterForRemoteNotificationsWithError:];
- [PushClientManager.defaultManager application:didRegisterForRemoteNotificationsWithDeviceToken:];
- [PushClientManager.defaultManager application:didRegisterUserNotificationSettings:];
- [PushClientManager.defaultManager application:didReceiveRemoteNotification:];
- [PushClientManager.defaultManager application:didReceiveRemoteNotification:fetchCompletionHandler:];
- [PushClientManager.defaultManager application:didFinishLaunchingWithOptions:];
- [PushClientManager.defaultManager application:didReceiveLocalNotification:];
- [PushClientManager.defaultManager applicationDidBecomeActive:];
- [PushClientManager.defaultManager applicationDidEnterBackground:];
- [PushClientManager.defaultManager applicationWillEnterForeground:];
- [PushClientManager.defaultManager applicationWillResignActive:];
- [PushClientManager.defaultManager applicationWillTerminate:];
- [PushClientManager.defaultManager appWillOpenUrl:];