We're Hiring!

Approov iOS Native Integration QuickStarts

ios-native-quickstarts

Photo by Evgeni Tcherkasski on Unsplash

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.

 

Richard Taylor

- CTO and Co-Founder at Approov Ltd
Chief Technical Officer with more than 30 years of industry experience. Background in compiler optimization and processor architecture, working more recently in application security and cloud computing technologies. Richard Co-Founded and is CTO of Approov Mobile Security (previously Critical Blue Ltd) and has led a number of innovative product developments in the area of EDA, software optimization and remote software attestation.