Skip to content
@approov

Approov Integration Examples

A collection of free to use code examples and pre-built deployable solutions for users of Approov mobile app protection

👋 Welcome to Approov

Since 2001, Approov has been providing mobile app protection and mobile API security for apps on Android, iOS, and HarmonyOS.

Here, you'll find open source quickstarts, SDK examples, service layers, and more to help you learn how to integrate Approov into your mobile apps.

Approov helps teams protect APIs from:

  • fake or repackaged mobile apps
  • bots and scripted API abuse, such as app scraping
  • stolen API keys and embedded secrets
  • man-in-the-middle attacks
  • unauthorized clients calling mobile APIs directly
  • compromised or risky runtime environments

❓ What Approov does

Approov verifies that API requests come from genuine, untampered mobile apps running in trusted environments. Verified apps receive short-lived Approov tokens or runtime secrets that backend services can validate before allowing API access.

How we do it:

  • Mobile app attestation
  • Runtime Application Self Protection, or RASP
  • Mobile API protection
  • Runtime secrets protection
  • Dynamic certificate pinning
  • Token binding and JWT validation
  • Real-time mobile threat intelligence

🎯 Start here

Popular repositories

Mobile app quickstarts

Platform or framework Example repositories
Android Android Java HttpsUrlConnection, Kotlin OkHttp, Kotlin Retrofit, Java Volley
iOS Objective-C, Swift URLSession, Swift Alamofire, WebView
Cross-platform React Native, Flutter Httpclient, Cordova, Unity

Service layers

Approov service layers are wrappers for the Approov SDK to enable easy integration with your build.

Some popular examples include: React Native, URL Session, OK Http, Volley, Retrofit, Android WebView, Https Url Connection, Moya, Alamofire, and many more!

Our service layers are all open source. If you're looking for one in particular, you'll find them all when searching our organization on GitHub.

Backend and API verification

Use these examples to validate Approov tokens before allowing traffic to reach protected APIs.

Backend or gateway Example repositories
Node.js Express and General token checks
Python Flask and FastAPI token check examples
PHP Laravel and generic PHP token checks
Azure Azure Functions and API Management

📚 Documentation and resources

Learn mobile API security concepts

Repository Use case
shipfast-api-protection Walkthrough of API keys, static HMAC, dynamic HMAC, dynamic certificate pinning, and mobile app attestation
hands-on-api-proxy Learn how to remove API keys and secrets from mobile apps using an API proxy

Popular repositories Loading

  1. react-native-cert-pinner react-native-cert-pinner Public archive

    Strengthens TLS in React Native through Certificate Pinning

    JavaScript 97 39

  2. shipfast-api-protection shipfast-api-protection Public

    Learn practical Mobile and API security techniques: API Key, Static and Dynamic HMAC, Dynamic Certificate Pinning, and Mobile App Attestation.

    Kotlin 83 13

  3. quickstart-flutter-elixir-phoenix-channels quickstart-flutter-elixir-phoenix-channels Public

    Approov integration quickstart for mobile apps using a backend with Elixir Phoenix Channels

    Dart 35 4

  4. aws-ec2-traefik-setup aws-ec2-traefik-setup Public

    Install, setup and run Traefik on AWS EC2 instances to run all docker containers behind the same port 443 and 80, with automated LetsEncrypt certificates creation and renewal.

    Shell 33 6

  5. AppAuth-OAuth2-Books-Demo AppAuth-OAuth2-Books-Demo Public archive

    A companion repo for the blog article: https://blog.approov.io/adding-oauth2-to-mobile-android-and-ios-clients-using-the-appauth-sdk

    Java 27 5

  6. android-hide-secrets android-hide-secrets Public

    An exercise to research and explore the best ways to hide a secret in the code of a mobile app. Article: https://blog.approov.io/how-to-extract-an-api-key-from-a-mobile-app-with-static-binary-analysis

    Java 24 4

Repositories

Showing 10 of 125 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…