Comments (26)
I've done. I fixed zxing-typescript
build in my fork and published it, now ngx-zxing
is using the fixed version instead of the original.
from ngx-scanner.
All right, I will try then. 🙂
from ngx-scanner.
Well, I managed to build the project with zxing-typescript as a dependency. Also, I've updated the code to the Angular 5 patterns.
Unfortunatelly zxing-ts has a problem too, it's packaged with TS files, wich is a bad thing to build systems + packages, if it was packaged as a JavaScript module, none of us would have build problems. More about: aleris/zxing-typescript#8
from ngx-scanner.
Awesome!! You wanna make a PR to merge your changes back here? What about zxing-ts, are you maintaining the fork or will aleris accept a PR?
from ngx-scanner.
I would greatly appreciate a PR, would be great if would be focused and manageable to merge. Thanks!
from ngx-scanner.
Changes of ngx-zxing look fine for me.
from ngx-scanner.
I actually tried that in the first place but can't import zxing-typescript with .forRoot() or anything since it is not a proper lib/module.
It's my first angular library, feel free to make a PR 🙂
from ngx-scanner.
Okay so what are we gonna do?
from ngx-scanner.
I'm trying to fix zxing-typescript package here right now. Any help is appreciated.
from ngx-scanner.
Cool, what can I do? Will probably have some time during the holidays
from ngx-scanner.
Nice, I've successful installed the package dependencies only today, 'cause I had a problem with one of them (sharp
who has some peculiar dependencies).
Also, I can already create a bundle of the project, but I need to test if it will work with ngx-zxing
.
If you want to make any improvements in the code or help with tests or getting ngx-zxing
to work with the package would me awesome. Basically I don't know what you can do, but I would appreciate.
When we finish we can try to merge my fork back here.
from ngx-scanner.
Thanks! Well, lets try to merge ngx-zxing back here! About zxing-ts, I don't think @aleris will accept that quantity of changes in a single take, so I will keep the fork for a while until we decide what happens to it.
I just think that my ngx-zxing fork is not ready for a PR, there's still things I have to fix. I've done the dependency task, but I changed the project structure and messed up with the component, I pretend to fix it up today and then make the PR.
from ngx-scanner.
Can you take a look in my fork and give some feedback to us? :)
from ngx-scanner.
I made progress with both packages. We can start thinking in the future of both and if the PRs are gonna happen.
Here is an example of everything (I bet/hope) working: https://stackblitz.com/edit/ngx-zxing-2-exemple
from ngx-scanner.
@odahcam Whats your idea for the project? Do you want to push the changes you made back here or are you gonna maintain your fork?
from ngx-scanner.
Well, at this time I need to be able to publish versions everytime I need them, I can't be forced to wait cause I need some features for like yesterday. 😆
If I my need can be satisfied here, I can make a PR today, if it does not I will have to wait a little more to PR my changes back.
from ngx-scanner.
Sure thing, not a problem, just wanted to know 😉
I just had the feeling that some to the issues that arouse here, could potentially already be fixed in your code base.
By the way, thanks for the great work, I really appreciate it!
from ngx-scanner.
You're welcome! Sure something I got fixed, but that issues I created today are still a problem in my branch that I'll try to fix week. Also I'm planing to create another demo with angular/material and more user interactions.
from ngx-scanner.
@werthdavid what you think about publishing the package under a npm-scope?
from ngx-scanner.
sure, what did you think of?
from ngx-scanner.
About the scope name or the idea?
Scope could be @zxing/ngx-scanner
or anything else, I really did not think about what could be a good name, so much so that I put a random name (@barn/ngx-zxing
) in my published package just to have it published.
About the idea it is cool because the scope owner can manage who can publish in that package, so you could set publish permissions for both of us. That would make things easier and bring more flexibility for me.
from ngx-scanner.
Both sounds good 😉
from ngx-scanner.
I created zxing org. on NPM (I can't believe it was not created yet), so tell me if you wanna to go ahead with this and lets see what we can do. 😀
from ngx-scanner.
I'm good 2 go, lets do it!
from ngx-scanner.
Nice! So now we need to start to deprecate our own packages and point to the zxing scope publish and, obviously, publish something under the scope too, hehe. I can do something with my repo tonight and also finish the PR #20 .
from ngx-scanner.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from ngx-scanner.
Related Issues (20)
- Property '"autofocusEnabled"' is incompatible with index signature. HOT 2
- Cannot Scan code 93 and Codabar barcodes. No errors in the console as well
- cannot scan UPC_E barcodes
- Cannot read properties of undefined (reading stop)
- [Firefox-android] Permission issue HOT 1
- Please support Angular 17 HOT 1
- Cordova Android app
- Area of intreset feature
- Windows 11, camera shows screen stream instead
- Error reading QR code in Chrome
- when you open a scanner multiple times the CPU usage gets to 100% HOT 3
- Dependency bug
- Add Support for willReadFrequently to Optimize Canvas Readback Performance HOT 2
- ZxingScannerComponent is not releasing all resources - BrowserCodeReader still trying to decode after ngDestroy HOT 3
- ZxingScannerComponen.init method called twice when enable flag is set to true (leak once again) HOT 8
- iPadOS black screen after installation to homescreen, works on safari HOT 4
- Support v0.21.0 zxing library HOT 1
- Upgrade to Angular 18.x HOT 1
- Error al intentar implementar esta libreria en angular 17 HOT 1
- DOMException: setPhotoOptions failed when stoping scanner after upgrade from v17.0.1 to 17.0.2 or above HOT 4
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 ngx-scanner.