This repository has been archived by the owner on Sep 3, 2021. It is now read-only.
Releases: nearit/iOS-SDK
Releases · nearit/iOS-SDK
2.12.3
2.12.2
API Breaking Changes
- None.
Enhancements
- Don't use bluetooth APIs, to avoid bluetooth dialog on iOS13
Bugfixes
- None.
Internal
- None.
2.12.1
API Breaking Changes
- None.
Enhancements
- Renamed method for iOS9 integration.
From:
public func processRecipe(_ userInfo: [AnyHashable : Any], completion: ((NITReactionBundle?, NITTrackingInfo?, Error?) -> Void)?) -> Bool
To:
public func getContentFrom(userInfo: [AnyHashable: Any], completion: ((NITReactionBundle?, NITTrackingInfo?, Error?) -> Void)?) -> Bool
Bugfixes
- None.
2.12.0
API Breaking Changes
- None.
Enhancements
- New method for fetching user data:
public func getUserData(_ completionHandler: (([String: Any]?, Error?) -> Void)?)
Bugfixes
- None.
2.11.3
API Breaking Changes
- None.
Enhancements
- Renamed method for clearer intent.
From
public func processRecipeFrom(_ response: UNNotificationResponse, completion: ((NITReactionBundle?, NITTrackingInfo?, Error?) -> Void)?) -> Bool
To
public func getContentFrom(_ response: UNNotificationResponse, completion: ((NITReactionBundle?, NITTrackingInfo?, Error?) -> Void)?) -> Bool
- Added method for faster integration:
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void)
Bugfixes
- Fix XCode warnings for Obj-C pointer nullability information.
- Fix diacritics char handling.
2.11.2
API Breaking Changes
- None.
Enhancements
- NITCoupon instances have getters for serial number, claimed date and redeemed date.
Bugfixes
- None.
2.11.1
API Breaking Changes
- None.
Enhancements
- None.
Bugfixes
- Nullable comment for Feedback answers and avoid sending null or empty comment in json body.
2.11.0
API Breaking Changes
- None.
Enhancements
- New feature:
notificationDelegate
for getting notification history updates. - New feature: notification history items have
isNew
information, can be reset with utility method.
Bugfixes
- None.
2.10.7
API Breaking Changes
- iOS9 support method has an extra argument.
From
func manager(_manager: NearManager, alertWantsToShowContent content: Any)
to
func manager(_manager: NearManager, alertWantsToShowContent content: Any, trackingInfo: NITTrackingInfo)
Enhancements
- None.
Bugfixes
- None.
2.10.6
API Breaking Changes
- None.
Enhancements
- Swift Version in .podspec
Bugfixes
- None.