No description provided.
Adding 5.0 version of barcode scanner
Can we also engage Ken with the inclusion of the Zebra X'ings libraries. I believe he has started this work as well for the Tablet OS.
Just making sure we have all the right t's crossed and i's dotted.
Edited Smartphone/Barcode/README.md via GitHub
Updating library.xml for new architecture
Updating install instructions based on single library.xml
Adding missing id attribute to extension
This looks good, and complete, if a little busy. My comments are related largely to modularizing the code a bit better to improve readability and maintenance.
1) BarcodeExtension - there shouldn't be two if statements checking the same thing in the loadFeature method. I also recommend breaking down the code that checks and sets permissions into two helper methods (getMissingCameraPermissions and allowMissingCameraPermissions) to improve readability.
2) GenerateBarcodeAction - I think that the invoke method can be broken down into several pieces to improve readability. I suggest keeping the the parameter checking in invoke and assigning the parameters to the contents, generatedCallback, errorCallback and options objects directly as you're checking them. The runnable can be a separate private class. Invoke can process, break down and send the options object to the class' constructor to make the dependencies clear.
Its run method does several things - processes args, converts a string representation of the barcode to a byte array and processes files to write it. I recommend separating those steps into smaller methods so that the run method reads like pseudo-code. The helpers can take care of the details for whoever is interested in scrolling down and digging deeper.
3) ScanBarcodeAction - same comments as above. It's one busy invoke method that can be broken down to improve readability.
Initial changes based on ababut's review
finishing changes for ababut's review
Updating library.xml for differences between 5.0 and 6.0 and correspo…
…nding install instructions
Checking to see if this pull request simply fell off the table, or if there is a reason why it has not yet been merged.
It looks like Jeff addressed Alex's concerns. Is there anything else left to do before we can add this change?
Pull request no longer merges cleanly. I'll ping offline to see if we can close this, or whether @jeffheifetz should update it
Closing after talking with @astanley
#3 sameple files update again
remove all LICENCE file, replace with plain text files. Update index.js