Comments (7)
Hello @chernandez-bunnings
Thanks for reporting this issue. We are looking at it. I'll let you know if we can resolve the conflicts.
from capture-vision-react-native-samples.
Hello @chernandez-bunnings
We have released a new version v1.1.9 to fix the conflicts. You can try the new version now.
from capture-vision-react-native-samples.
Confirming that in version . Ideally enforcing the types would be great, as I can see this new version defines those types as 1.1.9
those ts
errors are not raisedany
in those instances where there were errors. This fix works for now, for me to drop the patch. Thank you for looking into it.
If in the future a more strict type definition is supported that would be very much appreciated.
from capture-vision-react-native-samples.
Apologies for providing a false positive confirmation. During my initial test, I didn't experience the issue.
However doing a clean install, we still experience one typing error:
$ tsc
Error: node_modules/dynamsoft-capture-vision-react-native/js/DynamsoftCameraView.tsx(46,7): error TS2322: Type 'ComponentType<any>' is not assignable to type 'HostComponent<any>'.
Type 'ComponentClass<any, any>' is not assignable to type 'HostComponent<any>'.
Type 'Component<any, any, any>' is not assignable to type 'Component<any, {}, any> & Readonly<NativeMethods>'.
Type 'Component<any, any, any>' is missing the following properties from type 'Readonly<NativeMethods>': measure, measureInWindow, measureLayout, setNativeProps, and 2 more.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
from capture-vision-react-native-samples.
Hello @Dynamsoft-Henry, just wondering if there are any updates on this?
We are finalising development work for the barcode scanner. It would be great if we did not have to use a patch to ensure the tsc
passes correctly in our ci
.
I had a quick look into v1.1.12
and the issues still occurs.
from capture-vision-react-native-samples.
@chernandez-bunnings
Apologize for the late reply. We will fix it as soon as possible.
from capture-vision-react-native-samples.
Hi @chernandez-bunnings
Would you like to share your tsconfig.json file with us. So that we can confirm whether the issue is solved on you end.
from capture-vision-react-native-samples.
Related Issues (13)
- Task :app:mergeDebugAssets FAILED
- DCVCameraView component not working HOT 10
- CocoaPods could not find compatible versions for pod "DynamsoftBarcodeReader" HOT 2
- DCVCameraView styling support HOT 10
- Document scanner HOT 4
- iOS simulator stuck in SplashScreen - [email protected] HOT 6
- Camera permission on launch - ios HOT 1
- App frozen HOT 13
- Error with Severe hang after multiple barcode readers HOT 15
- DCVCameraView will get stuck after multiple times of render HOT 9
- Dynamsoft library not built for ARM64 HOT 6
- Adding beep sound to react-native Dynamsoft library HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capture-vision-react-native-samples.