Skip to content

Commit

Permalink
Release 6.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hiteshjain29 committed Jun 23, 2021
1 parent 76cf81e commit bc766f2
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 6.8.2
### Fix
- Tooltip naming variable for ios15

### Update
- HTML parsing on Thankyou/End page for passive forms
- Callback for in app user response
## 6.8.1
### Fix
- Scroll problem with position of visible required text
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.8.1"
let checksum = "63c7c2119b1d153e44c2310965cc2033433b03a4b30bb912e736012eae0981bf"
let version = "6.8.2"
let checksum = "d3e5ac0a74a178796f94dfe171d26d6d2dea76b342de7432bd765820a51276fe"
let url = "https://github.com/usabilla/usabilla-u4a-ios-swift-sdk/releases/download/v\(version)/UsabillaXCFramework.zip"

let package = Package(
Expand Down
33 changes: 30 additions & 3 deletions Readme.MD
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,16 @@ Usabilla for Apps allows you to collect feedback from your users with great ease
- [Integration with Obj-C applications](#integration-with-obj-c-applications)
- [ThreadSafe](#ThreadSafe)
- [Telemetry data collection](#Telemetry-data-collection)
- [Getting User feedback in app](#Getting-user-feedback-in-app)

* * *

## Requirements
- iOS 9.0+
- Xcode 10.3+
- Xcode 11+
- Swift 4.0+

**Note : `6.8.1` will be the last release on `Xcode 10.3`**
**Note : v`6.8.1` can be used for `Xcode 10.3`**

## Installation

Expand All @@ -82,7 +83,7 @@ use_frameworks!

target 'YourProjectTarget' do

pod 'Usabilla', '~> 6.8.1'
pod 'Usabilla', '~> 6.8.2'

End
```
Expand Down Expand Up @@ -833,3 +834,29 @@ Usabilla.submitTelemetryData = false
```

If the property is set to false, submitting telemetry data is turned off.


## Getting user feedback in app

When a camping or form is closed, the data is submitted to the server. If there is a need to have the responses available in the App,
the hosting app can implement a optional delegate method

```swift
func feedbackResultSubmitted(userResponse: Data)
```
This delegate method provides you with an ```Data``` object that holds the questions / answers
The data is ```Dictionary<String:Any>```
The dictionary holds all question in a random order where the key is the name of the question and the value is the answer to the question.
If the question is not answered ```null``` will be the value

The data can be obtained like this
```swift

func feedbackResultSubmitted(userResponse: Data) {
if let jsonString = String(data: userResponse, encoding: String.Encoding.ascii) {
//// use the data
}

}

```
1 change: 1 addition & 0 deletions Usabilla.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"6.8.2": "https://github.com/usabilla/usabilla-u4a-ios-swift-sdk/releases/download/v6.8.2/UsabillaCarthage.zip",
"6.8.1": "https://github.com/usabilla/usabilla-u4a-ios-swift-sdk/releases/download/v6.8.1/UsabillaCarthage.zip",
"6.8.0": "https://github.com/usabilla/usabilla-u4a-ios-swift-sdk/releases/download/v6.8.0/UsabillaCarthage.zip",
"6.7.1": "https://github.com/usabilla/usabilla-u4a-ios-swift-sdk/releases/download/v6.7.1/UsabillaCarthage.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.8.1"
version = "6.8.2"

Pod::Spec.new do |s|

Expand Down

0 comments on commit bc766f2

Please sign in to comment.