Skip to content

Expo Plugin to integrate with react-native-camera-kit without having to eject

Notifications You must be signed in to change notification settings

avantstay/expo-react-native-camera-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expo React Native Camera Kit

Expo Plugin to integrate Expo managed workflow with react-native-camera-kit without having to eject

Current npm package version.

Installation (Expo > 47)

NPM

npm install expo-react-native-camera-kit

yarn

yarn add expo-react-native-camera-kit

Configuration in app.json / app.config.js

Plugin

app.json

{
  "plugins": [
    [
      "expo-react-native-camera-kit",
      {
        "minSdkVersion": 23
      }
    ]
  ]
}

or

app.config.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.

What this plugin does

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

About

Expo Plugin to integrate with react-native-camera-kit without having to eject

Resources

Stars

Watchers

Forks

Packages

No packages published