UNPKG

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

55 lines (54 loc) 1.26 kB
{ "$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" ], "spmPackages": [ { "url": "https://github.com/zxingify/zxingify-objc.git", "productName": "ZXingObjC", "version": { "exact": "3.6.9" } } ], "targets": [ { "type": "swift", "name": "ExpoCamera", "path": "ios", "pattern": "**/*.swift", "dependencies": [ "ReactNativeDependencies", "React", "Hermes", "expo-modules-core/ExpoModulesCore", "ZXingObjC" ], "linkedFrameworks": [ "Foundation", "UIKit", "AVFoundation" ], "compilerFlags": { "swift": [ "-DZXINGOBJC_USE_SUBSPECS", "-DZXINGOBJC_PDF417", "-DZXINGOBJC_ONED" ] } } ] } ] }