Skip to content

Commit

Permalink
v1.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-troshkov committed Oct 26, 2021
1 parent 72585ba commit 5a40687
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ let package = Package(
targets: [
.binaryTarget(
name: "CxenseSDK",
url: "https://s3.amazonaws.com/sdk.cxense.com/CxenseSDK-iOS-1.9.6.zip",
checksum: "592d3ba6e6b54b4dab4c740ea1079090d7f112098c508b9431bd095ef970c623"
url: "https://s3.amazonaws.com/sdk.cxense.com/CxenseSDK-iOS-1.9.7.zip",
checksum: "db9d8867dc5adc4f1d4c7f1e1442f249cd989f7e9906b9c568a5b919316b5bda"
),
.binaryTarget(
name: "CxenseSDKTv",
url: "https://s3.amazonaws.com/sdk.cxense.com/CxenseSDK-tvOS-1.9.6.zip",
checksum: "b7828259643508b29b3c6a35b7896e6914e6f7cefd08b260859f90e5cfca5e55"
url: "https://s3.amazonaws.com/sdk.cxense.com/CxenseSDK-tvOS-1.9.7.zip",
checksum: "6ac0fa5bd5790fc4ae52c3cd8f45b0c3c0a759a2f49995193d31cbc603c826da"
)
]
)
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ that allows using Cxense servers' functionality in mobile application through na
### CocoaPods

```ruby
pod 'CxenseSDK', '~>1.9.6'
pod 'CxenseSDK', '~>1.9.7'
```

### Swift Package Manager
Expand All @@ -24,7 +24,7 @@ let package = Package(
dependencies: [
.package(
url: "https://github.com/cXense/cxense-spm.git",
from: "1.9.6"
from: "1.9.7"
)
],
targets: [
Expand Down Expand Up @@ -69,7 +69,7 @@ CXConfiguration *config = [[CXConfiguration alloc] initWithUserName:@"api@user.c
`Configuration` class provides control over other multiple options through which you can modify SDK's behaviour. All available for configuration options are listed below:
- `userName` (required) - Email of the user which has API access.
- `apiKey` (required) - API key of the user with API access.
- `persistentCookie` (required) - Unique identifier to identify and track the user. To fill in this parameter, you can ask the user for IDFA. If the user prohibits the use of IDFA, you can generate a random identifier the first time the user starts the application and save it to persistent storage.
- `persistentCookie` (default: once generated unique identifier) - Unique identifier to identify and track the user (see below for details).
- `dispatchInterval` (default: 30 sec) - Defines amount of seconds between tries which dispatch loop will perform in attempt to send reported events.
- `outdatedTimeout` (default: 7 days) - Defines amount of seconds during which all dispatched events will be stored in local database after successful sending.
- `networkRestriction` (default: none) - Defines network conditions upon which dispatch loop can send events.
Expand All @@ -79,6 +79,14 @@ CXConfiguration *config = [[CXConfiguration alloc] initWithUserName:@"api@user.c
- `dmpPushPersistentId` - Identifier of persistent query which points to "/dmp/push" API. If set, all performance events will be pushed through DMP pixel automatically. They are pushed through "/dmp/push/" API directly by default.
- `consentOptions` - List of options that indicate consent on data processing.
### Persistent cookie
By default, the value for the persistentCookie configuration property is generated once upon initialization of the Cxense SDK. You can also use your ID for users, and for anonymous users use the value 'anonymous', 'default', etc.
> Do not change the Configuration.persistentCookie property after initializing the Cxense SDK, this will have no effect. To change the Configuration.persistentCookie property after initializing the Cxense SDK, use the methods:
> - `Cxense.replacePersistentCookie(persistentCookie: String)` - to change
> - `Cxense.clearPersistentCookie()` - to set the default
## Initialize
***Swift:***
Expand Down Expand Up @@ -305,6 +313,8 @@ do {
...
case IncorrectConfiguration.invalidParameter(let cause, let recommendation):
...
case IncorrectConfiguration.freeDiskSpace:
...
default:
...
}
Expand Down

0 comments on commit 5a40687

Please sign in to comment.