expo-camera
Version:
A React component that renders a preview for the device's either front or back camera. Camera's parameters like zoom, auto focus, white balance and flash mode are adjustable. With expo-camera, one can also take photos and record videos that are saved to t
79 lines (78 loc) • 1.89 kB
JSON
{
"$schema": "../../tools/src/prebuilds/schemas/spm.config.schema.json",
"products": [
{
"name": "ExpoCamera",
"podName": "ExpoCamera",
"platforms": [
"iOS(.v15)"
],
"externalDependencies": [
"ReactNativeDependencies",
"React",
"Hermes",
"expo-modules-core/ExpoModulesCore"
],
"targets": [
{
"type": "swift",
"name": "ExpoCamera",
"path": "ios",
"pattern": "**/*.swift",
"exclude": ["barcode-scanning/**"],
"dependencies": [
"ReactNativeDependencies",
"React",
"Hermes",
"expo-modules-core/ExpoModulesCore"
],
"linkedFrameworks": [
"Foundation",
"UIKit",
"AVFoundation"
]
}
]
},
{
"name": "ExpoCameraBarcodeScanning",
"podName": "ExpoCameraBarcodeScanning",
"platforms": [
"iOS(.v15)"
],
"autolinkWhen": {
"podfileProperty": "expo.camera.barcode-scanner-enabled",
"disabledValue": "false"
},
"externalDependencies": [],
"spmPackages": [
{
"url": "https://github.com/zxingify/zxingify-objc.git",
"productName": "ZXingObjC",
"version": {
"exact": "3.6.9"
}
}
],
"targets": [
{
"type": "swift",
"name": "ExpoCameraBarcodeScanning",
"path": "ios/barcode-scanning",
"pattern": "**/*.swift",
"dependencies": [
"ExpoCamera",
"ZXingObjC"
],
"compilerFlags": {
"swift": [
"-DZXINGOBJC_USE_SUBSPECS",
"-DZXINGOBJC_PDF417",
"-DZXINGOBJC_ONED"
]
}
}
]
}
]
}