-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add barcode scanner to main screen #652
Conversation
… load/navigate to the barcoded item.
🤖 Pull request artifacts
|
@chaneylc can you resolve the |
…ode_button # Conflicts: # app/src/main/java/com/fieldbook/tracker/activities/CollectActivity.java
@chaneylc Would it make more sense to reuse the existing switchfield functions from the |
They do use the same function, DataHelper's switchField. Since its handling obs units I think it makes mores sense to be in Collect, since its using the already existing GeoNav feature for switching fields. But I see your point too and I can try to wrap some of that code in a utility and make that happen in Config. |
code improvement
Description
Adds button to config page that searches for unique obs unit id and switches to that field if needed. If one is found it automatically switches to the collect activity at that id. Fixes #632
Type of change
What type of changes does your code introduce? Put an
x
in boxes that apply.CHANGE
(fix or feature that would cause existing functionality to not work as expected)FEATURE
(non-breaking change which adds functionality)BUGFIX
(non-breaking change which fixes an issue)ENHANCEMENT
(non-breaking change which improves existing functionality)NONE
(if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)Checklist:
Changelog entry
Please add a one-line changelog entry below. This will be copied to the changelog file during the release process.