Fixed zoom issue Fixed Fabric (new arch) compile issues on both platforms Fixed included broken codegen lib code Fixed broken .h import paths to avoid setting custom build settings Fixed potential memory issue by disabling view recycling Added Fabric (new arch) support for camera view component Added RN 0.81 for example Added RN 0.79 for main lib Added helper for re-running codegen Added gitignore for Android codegen making a podspec Added support for scanThrottleDelay on Android Added includesGeneratedCode to package.json to indicate changes Rewrote optional int props to use -1 instead due to RN bug Moved to Obj-C with C++ support (.mm) to avoid C++ compile issues
42 lines
1.4 KiB
JSON
42 lines
1.4 KiB
JSON
{
|
|
"name": "react-native-camera-kit-example",
|
|
"description": "Example app for react-native-camera-kit",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"android": "react-native run-android",
|
|
"ios": "react-native run-ios",
|
|
"lint": "eslint .",
|
|
"start": "react-native start --client-logs",
|
|
"reinstall": "rm -rf ios/Pods && bundle && rm -rf ../node_modules/ ../android/build/ ./node_modules/ ./ios/Pods/ ./android/app/build/ ./android/app/.cxx && cd ../ && yarn && cd example && yarn",
|
|
"reverse": "adb reverse tcp:8081 tcp:8081",
|
|
"postinstall": "cd ios && bundle exec pod install"
|
|
},
|
|
"dependencies": {
|
|
"react": "19.1.0",
|
|
"react-native": "0.81.0",
|
|
"react-native-camera-kit": "link:../"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.25.2",
|
|
"@babel/preset-env": "^7.25.3",
|
|
"@babel/runtime": "^7.25.0",
|
|
"@react-native-community/cli": "20.0.0",
|
|
"@react-native-community/cli-platform-android": "20.0.0",
|
|
"@react-native-community/cli-platform-ios": "20.0.0",
|
|
"@react-native/babel-preset": "0.81.0",
|
|
"@react-native/eslint-config": "0.81.0",
|
|
"@react-native/metro-config": "0.81.0",
|
|
"@react-native/typescript-config": "0.81.0",
|
|
"@types/react": "^19.1.0",
|
|
"@types/react-test-renderer": "^19.1.0",
|
|
"eslint": "^8.19.0",
|
|
"prettier": "2.8.8",
|
|
"react-test-renderer": "19.1.0",
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|