Installation guide for iOS

We support RN version 0.67.x to 0.72.x

Note: XCode version must be at-least 12.0

Package Installation

$ npm install react-native-zendrive --save or $ yarn add react-native-zendrive

In ios/Podfile add a dependency for Zendrive iOS pod and add podspec path as well.

Note:

    For RN version < 0.69 podspec path is not needed.
    Cocoapods versions must be at-least 1.10.1
target 'xyz' do
  # your pods
  ......
  # Add zendrive ios pod dependency
  # note that version should be minimum 6.0.0
  pod 'ZendriveSDK', :git => 'https://bitbucket.org/zendrive-root/zendrive_cocoapod.git',
  :tag => '10.0.0', :modular_headers => true
  pod 'RNZendrive', :path => '../node_modules/react-native-zendrive/ios/RNZendrive.podspec', :modular_headers => true

on iOS running pod installation should generate a workspace with react-native-zendrive pod installed.

$ cd ios & pod install

Note: We can use the ZD RN Library along with flipper by enabling modular headers. Other wise we need to enable use_frameworks! which in turn will not work with flipper.

Troubleshooting