Skip to content

Commit

Permalink
Release 6.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hiteshjain29 committed Jun 13, 2022
1 parent a4a0424 commit 922f97b
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 6.12.0
### Update
- New Default Events Implementation
## 6.11.1
### Fix
- SDK version discrepancies
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import PackageDescription

let version = "6.11.1-Xcode-11.7"
let checksum = "70a5eda1b46e742cf32ae7057d2c996b680961cb35b6b582080d9bb13c905dfd"
let version = "6.12.0-Xcode-11.7"
let checksum = "d7d22dddb0546c99ec67bc38182c962a6dc14bed24d0b255b859b19e4df8928c"
let url = "https://github.com/usabilla/usabilla-u4a-ios-swift-sdk/releases/download/v\(version)/UsabillaXCFramework.zip"

let package = Package(
Expand Down
28 changes: 27 additions & 1 deletion Readme.MD
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Usabilla for Apps - iOS SDK
Usabilla for Apps allows you to collect feedback from your users with great ease and flexibility.

Read the [Default Events](#defaultevents) section for a explanation of the new fetures introduces in SDK 6.12.0
* * *

- [Usabilla for Apps - iOS SDK](#usabilla-for-apps---ios-sdk)
Expand Down Expand Up @@ -48,6 +49,7 @@ Usabilla for Apps allows you to collect feedback from your users with great ease
- [ThreadSafe](#ThreadSafe)
- [Telemetry data collection](#Telemetry-data-collection)
- [Getting User feedback in app](#Getting-user-feedback-in-app)
- [Default Events](#defaultevents)

* * *

Expand Down Expand Up @@ -83,7 +85,7 @@ use_frameworks!

target 'YourProjectTarget' do

pod 'Usabilla', '~> 6.11.1'
pod 'Usabilla', '~> 6.12.0'

End
```
Expand Down Expand Up @@ -863,3 +865,27 @@ The data can be obtained like this
}

```

## Default Events

From SDK **`v6.12.0`** onwards we are introducing a new feature **Default Events**.

**Note : Now with Default Events you can show campaigns in your application(Host application embedded with GetFeedback Digital/ Usabilla SDK) without adding any extra lines of code. You just have to create Standard Campaigns(Campaigns with Default/System Events) with your `User-Account` at `GetFeedback`.**

Currently we are supporting these lifecycle / system events :
- `LAUNCH` : Define as when the app is entering foreground
- `EXIT` : Define as when the app is entering to the background
- `CRASH` : Define as when the app is crashed ( terminated due to an unexpected behaviour)

**Note : SDK will not listen to any Default / System events, until it has been initialised and it is recommended to initialise only once. In order to make this work properly, SDK has to be initialize using `Usabilla.initialize` at the earliest possibility, preferably in the AppDelegate method:**

`func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil)`

Once the `SDK` has been initialised and is transition from the background, at this point SDK updates itself and fetches new / updated data from the server. `SDK` will update itself periodically which is in every 12 hour once the application is entered to the foreground.
While if the application is in the background, `SDK` doesn't perform any activty, nor listening to any events.

For Default events,`SDK` only listen to system events and based on these events SDK will show a campaign. If more than one campaigns is triggered, only the oldest will be displayed, and the other(s) will be disregarded, and left to have a chance being triggered at a later time.

For the campaigns eligible with the **EXIT or CRASH** events will be added to a queue and it will be given a chance to show on the next launch, together with any other default-events triggered.

[Click here](https://support.usabilla.com/hc/en-us/articles/4747575452562) to read more about events.
1 change: 1 addition & 0 deletions Usabilla.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"6.12.0": "https://github.com/usabilla/usabilla-u4a-ios-swift-sdk/releases/download/v6.12.0-Xcode-11.7/UsabillaXCFramework.zip",
"6.11.1": "https://github.com/usabilla/usabilla-u4a-ios-swift-sdk/releases/download/v6.11.1-Xcode-11.7/UsabillaXCFramework.zip",
"6.11.0": "https://github.com/usabilla/usabilla-u4a-ios-swift-sdk/releases/download/v6.11.0-Xcode-11.7/UsabillaXCFramework.zip",
"6.10.0": "https://github.com/usabilla/usabilla-u4a-ios-swift-sdk/releases/download/v6.10.0-Xcode-11.7/UsabillaXCFramework.zip",
Expand Down
2 changes: 1 addition & 1 deletion Usabilla.podspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "6.11.1-Xcode-11.7"
version = "6.12.0-Xcode-11.7"

Pod::Spec.new do |s|

Expand Down

0 comments on commit 922f97b

Please sign in to comment.