Our aim is to make the process of integrating Approov into your mobile app as simple as possible. Our Quickstart guides show you how to add Approov into your app, tailored to whatever framework or programming style you’ve already adopted. In this blog we are going to cover the options we have for iOS Native app development.
Since Approov is an API protection solution, the integration will depend on the particular way you’ve chosen to make backend API calls using your app. We have Quickstart support for URLSession and AlamoFire, both written using Swift. Getting started just means integrating our SDK and a simple open source layer that adapts to your API calling stack. It’s straightforward. Just follow our step-by-step guides.
Once you’ve downloaded the SDK and added our framework code layer, the changes you need to make to your app in order to send Approov tokens is minimal. Moreover, this will also enable certificate pinning in your app automatically to further heighten its security posture. You can administer the pins using the Approov cloud and changes are automatically sent down to your apps over the air when they connect.
Here are the links to the different Quickstarts, and an insight into how easy the code changes for integrating Approov are:
URLSession: If your code currently creates a session like this “URLSession(configuration: .default)” then all you need to do is create it with “ApproovURLSession(configuration: .default)”. That’s it. This automatically adds the Approov token to all of your requests and deals with pinning.
AlamoFire: If your code currently creates a session like this “Session()” then all you need to do is create it with “ApproovSession()”. Again, that’s it and it automatically adds the Approov token to all of your requests and deals with pinning.
If there are other networking stacks you would like to see supported then please just get in touch.