idenfy / ReactNativeSDK

Idenfy React Native SDK
MIT License
8 stars 6 forks source link

How to use "Document Recognition" with RN SDK? #14

Closed Alexxzz closed 1 month ago

Alexxzz commented 1 month ago

Hello,

Is it possible with RN SDK?

In iOS documentation it suggests to add pod to Podfile

pod 'iDenfySDK/iDenfyRecognition', '8.5.7'

which is probably not what you do when using RN plugin.

viktasidenfy commented 1 month ago

Yes, if you wish to use this feature, you must fork this repository and change theidenfy-react-native.podspec file to include iDenfyRecognition s.dependency "iDenfySDK/iDenfyRecognition", "8.5.7". Also, you must use use_frameworks with dynamic linking for this module. Using this feature with the plugin from npmjs is not possible.