Skip to content

Commit

Permalink
Release 2.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
runner authored and runner committed Jul 12, 2021
1 parent 7366623 commit f35eef9
Show file tree
Hide file tree
Showing 161 changed files with 7,408 additions and 289 deletions.
84 changes: 46 additions & 38 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
# SDK Changelog

- __SDK 2.6.2__

- Correct bug 121236 inapp/mainaction from push not called without connectivity
- Correct bug 143115 inapp 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 inapp message of type url
- Add Push InApp Message payload to InApp Message cache
- Provide a delegate to allow app to manage display on app side of InApp Message linked to a remote notification

- __SDK 2.6__

- Provide the sdk as a .xcframework
- 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
- Correct bug 136398 conflict with `SDWebImagePDFCoder` that avoid displays of images

- __SDK 2.5.1__

Expand All @@ -25,37 +33,37 @@

- __SDK 2.5__

- provide flexibility to In App Message by giving access to public methods and properties that will enable developer to process content
- 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 iOS 14
- 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
- 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
- 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
- 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
- Correct bug 100688 manage useragent without usage of `WKWebView`

- __SDK 2.2__

- Correct bug 96667 UIWebView deprecation - use WKWebView instead
- Correct bug 96667 `UIWebView` deprecation - use `WKWebView` instead
- Correct bug 96827 Buttons inside inapp 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
Expand All @@ -66,11 +74,11 @@

- __SDK 2.0.3__

- format devicetoken without using of NSData description property for better support of Xcode11 and iOS 13
- 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
- Correct bug 86049 User are optouted when App is reinstalled with v2.0.2

- __SDK 2.0.2__

Expand All @@ -81,7 +89,7 @@
- Correct all swift warnings
- Correct mainaction value of open browser type is not decrypted in a simple push
- Correct bug 73088 inapp message controller not dismissed when clicking on deeplink button
- Correct bug 77309 conflict with anvato sdk due to common crypto library
- Correct bug 77309 conflict with anvato SDK due to common crypto library
- Correct bug 74898 inapp message of type map is not displayed
- Correct bug 70428 shouldDisplayRemoteNotification impeach send pushopened event
- Correct bug 69351 unregister notification functionality in not working correctly
Expand All @@ -95,26 +103,26 @@
- __SDK 2.0__

- Support decryption of remote notification
- Changed the way the sdk is initialized from inside a notification extension
- 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 push only without InApp 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 inapp content viewcontroller when it is not wrapped inside other controller and when a link is present
- Improve how InApp Content are managed in cache
- Correction on dismiss of InApp 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 messages are fetch
- Add a type for In App refresh only for dev use: .Minutely
- Improve behavior and robustness of the way InApp Messages are fetch
- Add a type for InApp refresh only for dev use: `.Minutely`

- __SDK 1.7.2__

Expand All @@ -140,20 +148,20 @@

- __SDK 1.5.2__

- correct bug for in app content that must be displayed only once
- correct bug for InApp 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
- iOS 10 support of UserNotifications framework
- `sendDeviceInfo` deprecated method replaced with `sendDeviceInfo:(SMDeviceInfos*)deviceInfos` method
- New `SMManager` category for `DataTransaction` with back-end
- public `SMDeviceInfos` object
- iOS 10 support of `UserNotifications` framework
- stop supporting of iOS 7
- cache on last sent UserCustomEvent
- cache on last sent `UserCustomEvent`
- Update deviceID with the one received from platform

- __SDK 1.4.5__
Expand All @@ -162,36 +170,36 @@

- __SDK 1.4.4__

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

- __SDK 1.4.3__

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

- __SDK 1.4.2__

- correction on unregisterForRemoteNotification method
- issue with the notification when the application was killed
- 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 in SMInAppRefreshType (this enum is used both for InApp Message and for InApp Content) possible values are :
- enum `SMInAppMessageRefreshType` has been renamed to `SMInAppRefreshType` (this enum is used both for InApp Message and for InApp Content) possible values are :

- kSMIA_RefreshType_None
- kSMIA_RefreshType_Hourly
- kSMIA_RefreshType_Daily
- `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
- 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).
- 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 removed Documentation/MobileSDK Reference.pdf
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# SMCompletionBlockFailure Block Reference

**Declared in** SMBlock.h

<a title="Block Definition" name="instance_methods"></a>
## Block Definition
### SMCompletionBlockFailure

@typedef type of block that will be triggered when an event has failed to be sent

<code>typedef void (^SMCompletionBlockFailure) (SMFailure *failure)</code>

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# SMCompletionBlockSuccess Block Reference

**Declared in** SMBlock.h

<a title="Block Definition" name="instance_methods"></a>
## Block Definition
### SMCompletionBlockSuccess

@typedef type of block that will be triggered when an event has been succesfully sent

<code>typedef void (^SMCompletionBlockSuccess) (SMSuccess *success)</code>

Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# SMManager(DataTransaction) Category Reference

**Declared in** SMManager+DataTransaction.h

## Overview

This category will help you to retrieve or send specific information to the selligent platform.

<h1>SMManager+DataTransaction :</h1>

## Tasks

###

[&ndash;&nbsp;sendDeviceInfo](#//api/name/sendDeviceInfo)

[&ndash;&nbsp;sendDeviceInfo:](#//api/name/sendDeviceInfo:)

<a title="Instance Methods" name="instance_methods"></a>
## Instance Methods

<a name="//api/name/sendDeviceInfo" title="sendDeviceInfo"></a>
### sendDeviceInfo

Deprecated method

<code>- (void)sendDeviceInfo</code>

#### Discussion


<strong>Warning:</strong> Deprecated methodIn order to send device informations to the back-end you can use

<ul>
<li><a href="#//api/name/sendDeviceInfo:">sendDeviceInfo:</a>(SMDeviceInfos*)infos;</li>
</ul>

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

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

This method allow you to send an event with pre-defined devices informations to the back-end

<code>- (void)sendDeviceInfo:(SMDeviceInfos *)*deviceInfos*</code>

#### Parameters

*deviceInfos*
&nbsp;&nbsp;&nbsp;<a href="../Classes/SMDeviceInfos.md">SMDeviceInfos</a> object

#### Discussion
The informations to be sent will be set in a <a href="../Classes/SMDeviceInfos.md">SMDeviceInfos</a> object. Each property of the created object will be a data that will be provided to the back-end. For additional informations you can refer to SMDevicesInfos.

This call can be done at any time after starting the library and if the properties of <a href="../Classes/SMDeviceInfos.md">SMDeviceInfos</a> object has not changed from a previous call, the event will not be sent to avoid platform unnecessarily overload.

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

Loading

0 comments on commit f35eef9

Please sign in to comment.