Installation
Installing Cotter's React Native SDK can be done using yarn or npm.
Install Cotter
Make sure you are using version >= 0.2.0.
yarn add react-native-cotternpm install react-native-cotter --saveInstalling Dependencies for bare React Native project
yarn add react-native-device-info rn-secure-storage react-native-randombytes react-native-camera react-native-svg react-native-securerandom buffer react-native-inappbrowser-reborn react-native-sha256npm install --save react-native-device-info rn-secure-storage react-native-randombytes react-native-camera react-native-svg react-native-securerandom buffer react-native-inappbrowser-reborn react-native-sha256For iOS CocoaPods
cd ios && pod install && cd ..For Android
Add the following to your android/app/build.gradle
android {
...
defaultConfig {
...
missingDimensionStrategy 'react-native-camera', 'general'
multiDexEnabled true
}
}Using React Native >= 0.60
πYou're done! Linking the package manually is not required anymore with Autolinking.
(Optional) Additional guides for installation
Cotter's package doesn't need any manual installation. Cotter is dependent on several packages. Please refer to their docs for manual installation.
Last updated