Skip to content

Commit

Permalink
Release 2.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Selligent committed Feb 28, 2022
1 parent 31dc7b8 commit ecd985d
Show file tree
Hide file tree
Showing 28 changed files with 200 additions and 80 deletions.
41 changes: 4 additions & 37 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# SDK Changelog

- __SDK 2.7.3__
- Correct bug where action buttons were not refreshing properly for iOS +12
- Correct bug where instantiating events before starting SDK produced deviceId to not be loaded

- __SDK 2.7.2__
- Fix some arm64 + simulator compatibility issues for StaticLibrary + podspec and for geolocation version of the SDK
- Fix PushOpened sent twice if same notification ID is clicked more than once from notification center
Expand All @@ -20,29 +24,24 @@
- Correct bug where for some devices the data was not properly stored for the AppGroup causing the extensions to not work properly (i.e Rich Push)

- __SDK 2.6.2__

- Correct bug 121236 inapp/mainaction from push not called without connectivity
- Correct bug 143115 in-app message webview navigation arrows disabled
- Removed processing of optiex url from inside SDK

- __SDK 2.6.1__

- Provide device id to main app
- Provide delegate to allow app to process links contained in an in-app message of type url
- Add Push in-app message payload to in-app message cache
- Provide a delegate to allow app to manage display on app side of in-app message linked to a remote notification

- __SDK 2.6__

- Provide the SDK as a .xcframework
- Remove geolocalisation api references from core SDK

- __SDK 2.5.2__

- Correct bug 136398 conflict with `SDWebImagePDFCoder` that avoid displays of images

- __SDK 2.5.1__

- Provide helper method to set in app message as deleted
- Provide helper method to set in app message as unseen
- Correct bug 124219 send pushopened event when push is viewed only with notification content extension
Expand All @@ -51,56 +50,45 @@
- Correct bug 124144 warning "nil host used in call to .." is displayed when generating inapp icon buttons

- __SDK 2.5__

- Provide flexibility to In App Message by giving access to public methods and properties that will enable developer to process content

- __SDK 2.4.1__

- Support of iOS14
- Correct bug 109032 property contentCreation (creation date) of In AppContent public
- documentation update to avoid call to serviceExtensionTimeWillExpire resulting in (Encrypted) displayed even when encryption not applied
- Correct bug 113738 Events are sent twice

- __SDK 2.4__

- Support of rich push of type image
- Correct bug 104272 provide an override method to send `SMEventUserLogin` and avoiding login with providing empty mail
- Remove code that forces having to ask for camera permissions in plist file

- __SDK 2.3.1__

- Correct bug 102254 set way to provide App Group Id to the SDK

- __SDK 2.3__

- Support call to `didReceiveNotification Response:` to allow trigger action of notification content extension without opening app
- Correct bug 102401 inappmessage flag was not set correctly

- __SDK 2.2.1__

- Correct bug 100688 manage useragent without usage of `WKWebView`

- __SDK 2.2__

- Correct bug 96667 `UIWebView` deprecation - use `WKWebView` instead
- Correct bug 96827 Buttons inside in-app messages (url/html/image) don't work in SwiftUI
- Correct bug 90501 add robustness to check if device was already registered
- Add robustness when parsing plotID

- __SDK 2.1__

- support of plot projects SDK v3.2.0

- __SDK 2.0.3__

- format devicetoken without using of `NSData` description property for better support of Xcode11 and iOS 13

- __SDK 2.0.2.1__

- Correct bug 86049 User are optouted when App is reinstalled with v2.0.2

- __SDK 2.0.2__

- Correct bug 77531 device id is nil when performing background fetch and app is killed
- Correct bug 74907 IAC Url type stuck forever with incorrect URL
- Correct fetch in app with correct last date fetch when app was killed
Expand All @@ -114,67 +102,54 @@
- Correct bug 69351 unregister notification functionality in not working correctly

- __SDK 2.0.1__

- Correct bug 64260 fetching in app message with date - url is not valid and header validation is not successful
- Correct bug 64246 encoding of url is causing issue when there is a #
- Improve way optout is retrieved from iOS

- __SDK 2.0__

- Support decryption of remote notification
- Changed the way the SDK is initialized from inside a notification extension

- __SDK 1.9__

- Support action button in push notification center

- __SDK 1.8__

- Support push only without in-app message
- Support deeplinking and main action when user click on push notification

- __SDK 1.7.4__

- Improve how in-app content are managed in cache
- Correction on dismiss of in-app content viewcontroller when it is not wrapped inside other controller and when a link is present

- __SDK 1.7.3__

- Improve behavior and robustness of the way in-app ,essages are fetched
- Add a type for InApp refresh only for dev use: `.Minutely`

- __SDK 1.7.2__

- Correction on IAC cache issue when app was killed (file was not updated)

- __SDK 1.7.1__

- Correction on duplicate symbol due to integrate library

- __SDK 1.7__

- Added geolocation functionality
- Misc Bugs correction
- Add http header to inform which version of the platform is supported
- Support of bitcode

- __SDK 1.6__

- iOS 11 support
- misc bug corrections
- consolidate received event
- adapt user-agent of request

- __SDK 1.5.2__

- correct bug for in-app content that must be displayed only once

- __SDK 1.5.1__

- correct crash bug that happens when expiration or creation date for in app content is null

- __SDK 1.5__

- `sendDeviceInfo` deprecated method replaced with `sendDeviceInfo:(SMDeviceInfos*)deviceInfos` method
- New `SMManager` category for `DataTransaction` with back-end
- public `SMDeviceInfos` object
Expand All @@ -184,41 +159,33 @@
- Update deviceID with the one received from platform

- __SDK 1.4.5__

- Store last sent user custom event and check if a modification has been done before sending next one

- __SDK 1.4.4__

- compare device token based on string instead of `NSData` (bug swift 3 and Data class)

- __SDK 1.4.3__

- correction for max number of in-app content crash when max > number of messages received
- creation date of in-app content
- dismiss when no button in notification payload

- __SDK 1.4.2__

- correction on `unregisterForRemoteNotification` method
- issue with the notification when the App was killed

- __SDK 1.4.1__

- bug corrections

- __SDK 1.4__

- enum `SMInAppMessageRefreshType` has been renamed to `SMInAppRefreshType` (this enum is used both for in-app message and for in-app content) possible values are :

- `kSMIA_RefreshType_None`
- `kSMIA_RefreshType_Hourly`
- `kSMIA_RefreshType_Daily`

- __SDK 1.3__

- To access easily all API methods you will need to replace `#import SMManager.h` by `#import SMHelper.h`

- __SDK 1.2__

- The API `sendEvent:` has been renamed to `sendSMEvent:` (this call will prevent compilation)
- The API `registerForRemoteNotification` has been added. It allows applications to register remote-notification when they really need it. This, then, becomes a mandatory call for receiving pushes (after starting the library).
Binary file modified Documentation/IOSSDKTemplate.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ Notification service extension :

[– didReceiveNotification:](#/api/name/didReceiveNotification:)

[– didReceiveNotification:withContext:](#/api/name/didReceiveNotification:withContext:)

[– didReceiveNotificationRequest:](#/api/name/didReceiveNotificationRequest:)

[– didReceiveNotificationRequest:withContentHandler:](#/api/name/didReceiveNotificationRequest:withContentHandler:)
Expand Down Expand Up @@ -95,6 +97,30 @@ The category that must be added to Info.plist of the Notification Content Extens
#### Declared In
* `SMManager+UserNotification.h`

<a name="/api/name/didReceiveNotification:withContext:" title="didReceiveNotification:withContext:"></a>
### didReceiveNotification:withContext:

Optional API, when building against iOS 10+ and using a Notification Content Extension target, to be included in NotificationViewController <a href="#/api/name/didReceiveNotification:">didReceiveNotification:</a>
Handle the push action buttons that may be present in the selligent notification payload

<code>- (void)didReceiveNotification:(UNNotification *_Nonnull)*notification* withContext:(NSExtensionContext *_Nullable)*context*</code>

#### Parameters

*notification*
&nbsp;&nbsp;&nbsp;A UNNotification that contains information about the notification.

*context*
&nbsp;&nbsp;&nbsp;A NSExtensionContext that contains the context information of the extension.

#### Discussion
This allows the SDK to display the action buttons in the push notification outside of the app.

The category that must be added to Info.plist of the Notification Content Extension target is mandatory and must be SELLIGENT_BUTTON.

#### Declared In
* `SMManager+UserNotification.h`

<a name="/api/name/didReceiveNotificationRequest:" title="didReceiveNotificationRequest:"></a>
### didReceiveNotificationRequest:

Expand Down
Loading

0 comments on commit ecd985d

Please sign in to comment.