apply plugin: 'com.android.library' apply plugin: 'expo-module-gradle-plugin' apply plugin: 'org.jetbrains.kotlin.android' android { namespace "expo.modules.usbcamera" compileSdkVersion findProperty("expo.compileSdkVersion") ?: 34 defaultConfig { minSdkVersion 23 // libausbc requires min SDK 23 targetSdkVersion findProperty("expo.targetSdkVersion") ?: 34 versionCode 1 versionName "1.0.0" } buildFeatures { buildConfig true } } repositories { google() mavenCentral() maven { url 'https://jitpack.io' } maven { url 'https://jcenter.bintray.com' } } dependencies { implementation 'com.facebook.react:react-android' // AndroidUSBCamera library for USB/UVC Webcams implementation 'com.github.jiangdongguo.AndroidUSBCamera:libausbc:3.2.7' }