Releases: trustedshops/trustedshops-ios-sdk
Release 0.8.4
This release fixes a bug that could lead to applications crashing when requesting product reviews for products which no longer have any such reviews due to deletion. The backend returned incomplete data that didn't adhere to the specification and the SDK was not prepared to handle this properly. It now invokes the associated error block with the correct error (TRSErrorDomainInvalidData
).
Release 0.8.3
This release gives the various view classes in the pod public readonly properties to access data like overall rating, number of reviews, etc. once the view's data was successfully loaded from the backend.
It also updates dependencies and makes the Example project fit for Xcode 9.
Some minor bugfixes and logging cleanup are also included.
Release 0.8.2
This release fixes a bug that caused the app of shops without any reviews yet to crash when they tried to display one of two view objects that tried to display the grade.
From now on the affected views will then show a "zero grade", i.e. 0.0/5.0 as numerical and --- as the descriptive grade. The stars will all be empty in these cases.
Release 0.8.1
This is only a small fix that addresses using the pod in swift projects. Nullability specifiers used on some init methods marked as unavailable are no longer resulting in warnings now.
Release 0.8.0
This release makes the email for orders optional, so situations in which a shop does not have a customers email, they can still offer the buyer protection (the email is then asked from the customer directly).
0.7.0
Release 0.7.0
Release 0.6.0
This release adds the functionality to load individual product reviews (as in "per consumer") from the Trusted Shops backend and improves the Example project.
Release 0.5.0
Release 0.5.0
This release introduces two new views (one of which can be set to two different modes, resulting in three possible new UI objects). They work like the existing views (i.e. their data needs to be loaded from the backend) and display a product review grade.
Also, the webview lightbox that is shown during the checkout process now adapts its height according to the loaded html/js code if needed.
Release 0.4.0
This release introduces three new views to show a shop's grade and rating.
Release 0.3.3
This small fix reduces the deployment target version to iOS 8.0.