Authenteq API Documentation
  • Introduction
  • Create an Account
  • Documentation
    • Change Log
      • Mobile SDK
      • Web and API
    • Migration Guides
      • Mobile SDK 1.63 & WebIDV
      • Multi-Document Flow
    • Version Support
  • Mobile SDK
    • iOS
      • iOS Requirements
      • Installation
      • Identification
        • Identification Result
        • Document Identification Result
      • Face Authentication
      • Errors
      • Customization
    • Android
      • Android Requirements
      • Installation
      • Identification
        • Identification Result
        • Document Identification Result
      • Face Authentication
      • Customization
    • React Native
      • iOS
      • Android
    • Flutter
      • iOS
      • Android
    • Authentication Token
    • UI Customization
    • Examples
  • Web
    • Web Overview
    • Getting Started
    • How to Integrate Web?
    • Examples
    • API Reference
  • Export
    • Export Overview
    • API Reference
  • Webhook
    • Webhook Overview
  • AML
    • AML Overview
    • API Reference
  • Verification Links
    • Verification Links Overview
  • Recognition
    • Recognition Overview
    • API Reference
Powered by GitBook
On this page

Was this helpful?

  1. Mobile SDK
  2. React Native

iOS

React Native

iOS setup

Update Podfile in your_project_dir/ios folder

  1. change minimum iOS deployment target to 11.0 or later

  2. add dynamic frameworks support

  3. add custom podspec repo url

  4. add workaround for Flipper framework usage (only if you plan to use Flipper framework). We recommend not to use Flipper and remove mentions of it from Podfile and AppDelegate.m files

platform :ios, '11.0' 
source 'https://bitbucket.org/authenteq/cocoapods-specs.git'
source 'https://cdn.cocoapods.org/'
use_frameworks!

# Following code is required only when you are using Flipper
# If you don't plan to use Flipper, you can remove this part
$static_framework = ['CocoaAsyncSocket', 'CocoaLibEvent', 'OpenSSL-Universal', 'Flipper-Folly', 'FlipperKit', 'Flipper', 'Flipper-DoubleConversion', 'Flipper-Glog', 'Flipper-PeerTalk', 'Flipper-RSocket']
pre_install do |installer|
  Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
  installer.pod_targets.each do |pod|
    if $static_framework.include?(pod.name)
      puts "Overriding the static_framework method for #{pod.name}"
      def pod.build_type;
        Pod::BuildType.static_library
      end
    end
  end
end
# end 

require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
... other content of Podfile ...

Apply changes in Podfile

Run pod install command in your_project_dir/ios folder

PreviousReact NativeNextAndroid

Last updated 3 years ago

Was this helpful?