[Expo Plugin](https://docs.expo.dev/config-plugins/introduction) to integrate Expo managed workflow with [react-native-camera-kit](https://github.com/teslamotors/react-native-camera-kit) without having to eject
npm install expo-react-native-camera-kitNPM
``bash`
npm install expo-react-native-camera-kit
yarn
`bash`
yarn add expo-react-native-camera-kit
app.json
`json`
{
"plugins": [
[
"expo-react-native-camera-kit",
{
"minSdkVersion": 23
}
]
]
}
or
app.config.js
`js`
export default {
...
plugins: [
[
expo-react-native-camera-kit:
{
minSdkVersion: 23
}
]
]
};
It's also possible to set the kotlinVersion.
If no version is provided and there is no kotlinVersion set in the project (Expo SDK 48 does not set kotlinVersion) it uses as 1.7.20
Expo SDK 49 sets kotlinVersion` to 1.8.10 so this plugin uses that version.
This plugin follows the steps documented in the react-native-camera-kit repository.
https://github.com/teslamotors/react-native-camera-kit/blob/master/docs/kotlin.md