While our TrustBox widgets are designed for web, they work just as well in mobile apps. This article provides you with an overview of what you need to do to implement a TrustBox in your mobile app.
How to make TrustBoxes work in native apps
Because our TrustBoxes are designed for web, the implementation for native apps involves copy/pasting an HTML
<script> tag that loads the TrustBox functionality and a
<div> tag that defines the parameters of the specific TrustBox. You can find all of our TrustBoxes in Trustpilot Business under Integrations > TrustBox Library.
Implementing a TrustBox in an iOS app
Using the WKWebView from the iOS WebKit SDK, a TrustBox can be used to easily show Trustpilot data in your app. Ask your developer to follow the implementation steps provided in our GitHub project. The article also includes tips on how to make your TrustBox look as good as possible and how to handle navigation from links in the TrustBox.
Implementing a TrustBox in an Android app
How to use our API to build your own TrustBox
We have a public API that can be used to build custom versions of our TrustBoxes. Through our APIs, you can get data about your company on Trustpilot, such as your reviews, TrustScore, number of reviews, and current star rating.
In our GitHub project you can also find an example of how you can use Trustpilot’s API to show reviews in your mobile app.