Skip to content

Commit

Permalink
Merge branch 'release/v3.4.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Giacomo Pinato authored and Giacomo Pinato committed Apr 25, 2017
2 parents cb46a65 + d32cabc commit ecf515d
Show file tree
Hide file tree
Showing 25 changed files with 69 additions and 57 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.swift-version
8 changes: 8 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 3.4.1

#### Added
- Added the possibility to preload a form to make it available to the user even when offline. See the wiki for more informations.

#### Fixed
- The title of the thank you page is no longer being truncateds

## 3.4.0

#### Added
Expand Down
14 changes: 4 additions & 10 deletions Readme.MD
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,13 @@ Usabilla for Apps allows you to collect feedback from your user with great ease

Take a look at our [Wiki](https://github.com/usabilla/usabilla-u4a-ios-sdk/wiki) for a complete and in depth guide on how to install and customize the SDK.

## Latest changes in v3.4.0
## Latest changes in v3.4.1

#### Added
- Form caching. Forms loaded from our servers will be now cached locally and will be correctly displayed even when the user is offline.
- Added the possibility to preload a form to make it available to the user even when offline. See the wiki for more informations.


#### Updated

- Updated SDK to be compatible with Swift 3.1

#### Removed

- Removed some unecessary logs
#### Fixed
- The title of the thank you page is no longer being truncateds

## Requirements

Expand Down
Binary file modified UsabillaFeedbackForm.framework/Assets.car
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by Apple Swift version 3.1 (swiftlang-802.0.48 clang-802.0.38)
// Generated by Apple Swift version 3.1 (swiftlang-802.0.53 clang-802.0.42)
#pragma clang diagnostic push

#if defined(__has_include) && __has_include(<swift/objc-prologue.h>)
Expand Down
13 changes: 11 additions & 2 deletions UsabillaFeedbackForm.framework/Headers/UsabillaFeedbackForm.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import UIKit
open class UsabillaFeedbackForm {

//Various init methods with many parameters\
open static weak var delegate: UsabillaFeedbackFormDelegate? = nil
open static var appStoreId: String? = nil
open static weak var delegate: UsabillaFeedbackFormDelegate?
open static var appStoreId: String?
open static var hideGiveMoreFeedback: Bool = true
open static var showCancelButton: Bool = false
open static var dismissAutomatically: Bool = true
Expand All @@ -40,6 +40,15 @@ open class UsabillaFeedbackForm {
CacheManager.shared.removeAllCachedForms()
}

/**
Preloads a list of form to make them available to the user even without network connectivity.
*/
open class func preloadForms(withIds ids: [String]) {
for id in ids {
_ = FormStore.loadForm(id: id, screenshot: nil, customVariables: nil, themeConfig: UsabillaThemeConfigurator())
}
}

open class func loadFeedbackForm(_ appId: String, screenshot: UIImage? = nil, customVariables: [String: Any]? = nil, themeConfig: UsabillaThemeConfigurator = UsabillaThemeConfigurator()) {

FormStore.loadForm(id: appId, screenshot: screenshot, customVariables: customVariables, themeConfig: themeConfig).then { form in
Expand Down
Binary file modified UsabillaFeedbackForm.framework/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified UsabillaFeedbackForm.framework/UsabillaFeedbackForm
Binary file not shown.
86 changes: 43 additions & 43 deletions UsabillaFeedbackForm.framework/_CodeSignature/CodeResources
Original file line number Diff line number Diff line change
Expand Up @@ -6,43 +6,43 @@
<dict>
<key>Assets.car</key>
<data>
rPEwKThy7gqG/gAiaJu5wiFi4ug=
Fxnj0H2gikIEJdLAlMufjpm/nRo=
</data>
<key>Headers/UsabillaFeedbackForm-Swift.h</key>
<data>
8syHsSBja+UqPJsDqaB0S8y5ADs=
8cIpO9Xi/D6yr2usT2lzyYgivJc=
</data>
<key>Headers/UsabillaFeedbackForm.h</key>
<data>
s88WAL0yrAtpWYTlTjM61sk42AQ=
</data>
<key>Headers/UsabillaFeedbackForm.swift</key>
<data>
5euj6cpCsuMXwIaTqjKUF3/Uc9g=
gruD6wwd9BfwVsFEBVJsZxS53wc=
</data>
<key>Headers/UsabillaThemeConfigurator.swift</key>
<data>
6QZQO/g/Y+8NxvsakEAIydiTln8=
</data>
<key>Info.plist</key>
<data>
Xsijdp7rFO/D7++yncLN2IQM/sk=
JiWoDhAMDlwASRvwNnpyH2Vm9ww=
</data>
<key>Modules/UsabillaFeedbackForm.swiftmodule/arm.swiftdoc</key>
<data>
IssTPONCibQdQfVqkwGK1EMPUIU=
Xvf7YjXawGtzzNqEHw1iPuTVy70=
</data>
<key>Modules/UsabillaFeedbackForm.swiftmodule/arm.swiftmodule</key>
<data>
nLeHiXpSUIp4UBiI+5nKby2E4hw=
ZxkyIr8fBSob/wmFsq5HqYkJstM=
</data>
<key>Modules/UsabillaFeedbackForm.swiftmodule/arm64.swiftdoc</key>
<data>
cc+15v/F+TFKkRDNiIFH7fDjjxA=
wv3laNMWUkHuHDE48tvIrXPlzF4=
</data>
<key>Modules/UsabillaFeedbackForm.swiftmodule/arm64.swiftmodule</key>
<data>
yLp4RhYRgrxwY/i6+UfF4na512c=
IIC+2GQX4GVTWRhz7zPT7pDuPEQ=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand All @@ -54,31 +54,31 @@
</data>
<key>USAStoryboard.storyboardc/JPb-dH-keS-view-s39-cz-oQd.nib</key>
<data>
b7Ds+TV7lded1pxjm508YUWtKP0=
bbGpqrf8BgyQysIta8yhc5u8hUs=
</data>
<key>USAStoryboard.storyboardc/Wkv-42-66I-view-pNJ-qN-bEC.nib</key>
<data>
RXA52nuA0F4F4Pxxd3YF/5ENmJQ=
mahteGAAqmeGCpr+zHRsAovsHKI=
</data>
<key>USAStoryboard.storyboardc/asdasd.nib</key>
<data>
UWIQG/CwXs4bBZZXKuDWZOn+Kik=
Md0WX5HIe9VxXiO2KNQaIkRsCvo=
</data>
<key>USAStoryboard.storyboardc/base.nib</key>
<data>
owe15TngBggmb4lkJ+wIPiFJP40=
HP3bDWU+SAj0ZxepD2Bt+SdkY+I=
</data>
<key>USAStoryboard.storyboardc/lXN-7Y-gbD-view-Xfl-ca-kbX.nib</key>
<data>
3J/Qp3HtWmutsXUPnpW1I6MAFVY=
fqKb2ynsmxUsEG0sgMol8LjdN2U=
</data>
<key>USAStoryboard.storyboardc/page.nib</key>
<data>
esBU6o3YRQEpDlrk4WOvbGVRZAo=
fi3wPGFCKo5/TR3vgu86d3a3bUg=
</data>
<key>USAStoryboard.storyboardc/thankYou.nib</key>
<data>
WXTCqqqoxwl8XGndWCcA4/JxF6Q=
d2DR6Vc6/VWFV9QclcqyTEB7+e8=
</data>
<key>defaultJson.json</key>
<data>
Expand All @@ -95,22 +95,22 @@
<dict>
<key>hash</key>
<data>
rPEwKThy7gqG/gAiaJu5wiFi4ug=
Fxnj0H2gikIEJdLAlMufjpm/nRo=
</data>
<key>hash2</key>
<data>
yg2Mb54flic1bom+mZYBeGAsHY6qRpMw9vTTqAwQ7/o=
cmWGiiU37eTiLh0wijA2lWhFcGE67p3sp93wAJg1q8A=
</data>
</dict>
<key>Headers/UsabillaFeedbackForm-Swift.h</key>
<dict>
<key>hash</key>
<data>
8syHsSBja+UqPJsDqaB0S8y5ADs=
8cIpO9Xi/D6yr2usT2lzyYgivJc=
</data>
<key>hash2</key>
<data>
eEYxX1zYpfpP354ZpUCltX2QzNUEo+EsEeCEpbdZnpk=
bkpfgcVzxt53J2gHKKRg97t9ec7p1zwGku2k58mgbdk=
</data>
</dict>
<key>Headers/UsabillaFeedbackForm.h</key>
Expand All @@ -128,11 +128,11 @@
<dict>
<key>hash</key>
<data>
5euj6cpCsuMXwIaTqjKUF3/Uc9g=
gruD6wwd9BfwVsFEBVJsZxS53wc=
</data>
<key>hash2</key>
<data>
RlbyG1rQ3PciI3yA6TwKc8dYUB8ogd/SNgFt4Pv1UW0=
RVgh2XXtQwo/GhJh3e5t6fD2MH1LPwtNkB8Evo9Zqrc=
</data>
</dict>
<key>Headers/UsabillaThemeConfigurator.swift</key>
Expand All @@ -150,44 +150,44 @@
<dict>
<key>hash</key>
<data>
IssTPONCibQdQfVqkwGK1EMPUIU=
Xvf7YjXawGtzzNqEHw1iPuTVy70=
</data>
<key>hash2</key>
<data>
faQgzZiQOm6OUIXN82Z+4PmOCyDlMJbpMLmSDtDRhsU=
1U35CV0zu+uHcQJxzwXyOjhcLqGBkc9YWRmgj9d8TTA=
</data>
</dict>
<key>Modules/UsabillaFeedbackForm.swiftmodule/arm.swiftmodule</key>
<dict>
<key>hash</key>
<data>
nLeHiXpSUIp4UBiI+5nKby2E4hw=
ZxkyIr8fBSob/wmFsq5HqYkJstM=
</data>
<key>hash2</key>
<data>
/t99zQI+ligesYyRDaTt5rMAnNSyvds/lcdH1gyyq9k=
K5kFKNfb1SEEY0EeIF47thjMBIcsw+1J+3kqWiA3Nwc=
</data>
</dict>
<key>Modules/UsabillaFeedbackForm.swiftmodule/arm64.swiftdoc</key>
<dict>
<key>hash</key>
<data>
cc+15v/F+TFKkRDNiIFH7fDjjxA=
wv3laNMWUkHuHDE48tvIrXPlzF4=
</data>
<key>hash2</key>
<data>
sZegFTxl+cTkyzXdjBGbGGLeRyTqqX1cJOGK3+l9G9Q=
5nexj1HNqeHVOh1x72Do33CDF33QMmMwQZnj3KPlZH0=
</data>
</dict>
<key>Modules/UsabillaFeedbackForm.swiftmodule/arm64.swiftmodule</key>
<dict>
<key>hash</key>
<data>
yLp4RhYRgrxwY/i6+UfF4na512c=
IIC+2GQX4GVTWRhz7zPT7pDuPEQ=
</data>
<key>hash2</key>
<data>
SdLK3Q8yqZ3SrY+3OO6ORQ6HF167qrkurwhjTT2eOxc=
GkOQDFIObcNaztfjDqRGAC6mjmzB5wSsP7Po+LC1wTg=
</data>
</dict>
<key>Modules/module.modulemap</key>
Expand Down Expand Up @@ -216,77 +216,77 @@
<dict>
<key>hash</key>
<data>
b7Ds+TV7lded1pxjm508YUWtKP0=
bbGpqrf8BgyQysIta8yhc5u8hUs=
</data>
<key>hash2</key>
<data>
+ePdPS1nS14kxpsXiYlhLW7x2HZkT9w6JPbYzdJ5np8=
rYDmUNEPZCLZyeBSelnCh74VE+Nij/Ia9Sj9ZcvQ2ck=
</data>
</dict>
<key>USAStoryboard.storyboardc/Wkv-42-66I-view-pNJ-qN-bEC.nib</key>
<dict>
<key>hash</key>
<data>
RXA52nuA0F4F4Pxxd3YF/5ENmJQ=
mahteGAAqmeGCpr+zHRsAovsHKI=
</data>
<key>hash2</key>
<data>
Yzr+jg3Hh4M/LvzqFFs46A2GvqRsfnSMrJVqBjh4ijU=
JWoDxqyPMjHC5lcJRhsqg/tCUFqsyYcOLYwDZj1hV5w=
</data>
</dict>
<key>USAStoryboard.storyboardc/asdasd.nib</key>
<dict>
<key>hash</key>
<data>
UWIQG/CwXs4bBZZXKuDWZOn+Kik=
Md0WX5HIe9VxXiO2KNQaIkRsCvo=
</data>
<key>hash2</key>
<data>
MT0PZPmZey0B0GTPCt8l3D0wEzJB6OXM0x/4sbghoU8=
HsxTJEwqSyUG9pbbDCfLKCpjGlyuDjR3r5aqeXDmsTM=
</data>
</dict>
<key>USAStoryboard.storyboardc/base.nib</key>
<dict>
<key>hash</key>
<data>
owe15TngBggmb4lkJ+wIPiFJP40=
HP3bDWU+SAj0ZxepD2Bt+SdkY+I=
</data>
<key>hash2</key>
<data>
gT5iP1Xg/ciE9iKg3vt7HpSUhqhswBJ+0gWK1M1IaHI=
iif+VcVM4GUcSeYL9EYT48S4rBtREiA51P4J01PBeAg=
</data>
</dict>
<key>USAStoryboard.storyboardc/lXN-7Y-gbD-view-Xfl-ca-kbX.nib</key>
<dict>
<key>hash</key>
<data>
3J/Qp3HtWmutsXUPnpW1I6MAFVY=
fqKb2ynsmxUsEG0sgMol8LjdN2U=
</data>
<key>hash2</key>
<data>
uNf9jbm1jR1SV0m/t0hk+rwzGZiIaqc3QAdOYpVWLSU=
BWhDPNoWOIZe4cXiGpOERINsI0DJ5nb4haHaUGUZ9bc=
</data>
</dict>
<key>USAStoryboard.storyboardc/page.nib</key>
<dict>
<key>hash</key>
<data>
esBU6o3YRQEpDlrk4WOvbGVRZAo=
fi3wPGFCKo5/TR3vgu86d3a3bUg=
</data>
<key>hash2</key>
<data>
QsFSKRxZOhuGd50IOSTfyzwa9OdlMU9BT5TLKiVxiFI=
Ul/nkQ7srySBE54SNwkjT9LCkA/nRhXYHrIYlUA+LnQ=
</data>
</dict>
<key>USAStoryboard.storyboardc/thankYou.nib</key>
<dict>
<key>hash</key>
<data>
WXTCqqqoxwl8XGndWCcA4/JxF6Q=
d2DR6Vc6/VWFV9QclcqyTEB7+e8=
</data>
<key>hash2</key>
<data>
82VjBJCAI8RPxrgQwqvuB3kpgn3KaxWEAtIDSB4g06U=
e+qlq7NC5yTD+y2h20EAep0tWAewiST1r/8Gx9oAEZE=
</data>
</dict>
<key>defaultJson.json</key>
Expand Down
2 changes: 1 addition & 1 deletion UsabillaFeedbackForm.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Pod::Spec.new do |s|


s.name = "UsabillaFeedbackForm"
s.version = "3.4.0"
s.version = "3.4.1"
s.summary = "Collect feedback from your users."

s.description = 'With Usabilla FeedbackSDK you can collect feedback from your users.'
Expand Down

0 comments on commit ecf515d

Please sign in to comment.