# [[Changelog for AnimalTrakker Farm Mobile]] ## Version 0.3.15.10 (2025-03-11) ### Features - Added more functions for looking up evaluations by ID. (7/17) - Added the alert system and shows the alert when the animal is loaded. (7/17) - Added breed name and animal age in years and months into the standard header and rearranged some other info. (7/23) - Added a database feature that accesses a backup file if the system detects that the database is missing on startup. (7/25) - Added death dates to basic animal info and adds it to age computations. Animal basic info header now displays DEAD for deceased animals. (8/4) - Added a function to extract animal info by use case and updated the compatibility of certain activities. (8/14) - Added alerts for simple functions. (8/23) - Added a function that creates animal alerts for all simple sort options. (8/26) - Added the Animal Deaths task. (8/26) - Added preselected value options to evaluations. (8/29) - Optimized the Animal Info header, added Most Recent Weight section, and added some other visibility configurables. (9/8) - Added a way to hide inactive menu option buttons. (9/9) - Expanded the vaccine and deworm activity to include more drugs and actions. (9/12) - Added functionality to the evaluation editor so it can manually edit weight values. (9/24) - Added input filters, types, and masks to various animal functions. (10/3) - Added the Animal History activity. (10/16) - Added Lifetime Animal Info section. (10/16) - Added Animal Rearing Info. (10/16) - Added Animal Pedigree info. (10/16) - Added the Animal Details screen. (10/16) - Added the Breeders section. (10/17) - Updated the Add Drug code to supply withdrawal values. (10/17) - Created the Add Animal Alert activity and added support for it to several existing functions. (10/23) **This combines multiple entries** - Added Animal Evaluation History and shows it on the Animal History screen. (10/26) - Added an Evaluation Alert Summary to Optimal Livestock. (11/3) - Added Optimal Livestock ewe ultrasound section. (11/3) - Added the Horn Check action and repurposed the Administer Drug view model. (11/7) - Added a new query for Animal Alerts. (11/5) - Added an Animal Genetics section to Animal Details. (11/14) - Updated drug schemas to enable off-label drug use. (12/2) - Added off-label drug doses. (12/4) - Updated drug actions to include off-label dose selections. (12/5) - Updated off-label drug dosing to include vet contact info. (12/5) - Added error reports and the basic framework to implement them for select activities. (12/9) - Added the ability to save error reports to a folder. (12/10) - Updated the BaaCode service to support connections and reading status. (12/11) - Added a progress spinner to BaaCode scanning and made some buttons larger. (12/15) - Added drug dosages for selected animal species. (12/27) ### Bug Fixes - Fixed an issue where the EID reader was posting test EIDs upon scan. (7/17) - Fixed a typo in the query system. (7/17) - Fixed an import resolution issue in animal info lookup. (8/26) - Corrected a package name for Bluetooth preferences. (8/28) - Corrected the vaccine/dewormer screen to add missing date and time fields. Altered weight and meat/milk withdrawal options. (9/9) - Fixed a binding problem with some version names. (9/11) - Updated to allow special characters in farm IDs. Added formatting requirements for federal IDs. (9/16) - Corrected service binding code in scale devices. (9/23) - Fixed an issue where flow bindings would not reset when loading evaluations. (9/23) - Updated some functions to check for duplicate scanned IDs. (10/3) - Corrected some overspecifications in the repository. (10/3) - Corrected a lack of columns and adjusted some margins in the Animal Lifetime section. (10/16) - Added a solution to prevent 'not found' messages when loading animal details. (10/17) - Fixed a bug when creating animal alerts. (10/23) - Fixed a broken constraint in the layout hierarchy. (10/27) - Fixed an issue that made the Take Tissue Sample button disappear. (11/4) - Fixed BaaCode Reader connection status reporting. (12/16) - Corrected an issue for tracking database patch version acceptance. (12/20) ### Known Issues - The minification function is currently disabled until we can fix an issue with the serial library. (7/19) ### Breaking Changes - Changed the way the internal database directory is accessed. (7/16) - Optimized ram breeding soundness functionality and customization. (7/17) - Changed the application ID. (7/19) - Changed our database pathing to interface better with SQLite. (7/20) - Removed unused intent filters. (7/21) - Implemented a dialog box when a database isn't loaded when trying to perform a backup. (7/23) - Adjusted and optimized some animal info queries. (7/24) - Added seed database files to source code. (7/29) - Reverted application ID. (7/39) - Consolidated some EID reader service connection flows. (8/1) - Added a null check to the Bluetooth connection selection. (8/2) - Removed auto enable and disable from Bluetooth settings. (8/7) - Converted some Java functions to Kotlin. (8/7) - Converted some EID Reader functions to Kotlin and removed the race reader setting. (8/7) - Added some simple data evaluations. (8/12) - Consolidated some animal lookup views. (8/15) - Consolidated the Show Alert and Take Note buttons. (8/15) - Removed some unnecessary layout comments. (8/15) - Added orientation handling functions to all activities. (8/23) - Added a function to clear evaluation data on update. (8/23) - Evaluations now require at least one piece of data before they can be saved. (8/24) - Updated some dialogs for required animal criteria. (8/24) - Updated the tissue sample screen. (8/25) - Changed the way simple evaluations refresh animal data. (8/25) - Removed dead code and organized some packages. (8/26) - Converted and updated some Bluetooth permissions to reduce activity. (8/26) - Added some activity result contracts. (8/26) - Added some reusable alert event code. (8/26) - Reworked some animal evaluation queries to be more efficient. (8/29) - Updated the Android manifest to remove dead activities and show the keyboard only at proper times. (9/9) - Added version name and code in output file names. (9/11) - Created a task to increment build numbers. (9/11) - Updated the latest version of the system seed database. (9/11) - Regenerated some wrapper files and scripts. (9/11) - Updated the increment build number task. (9/12) - Updated required text for general drug administration. (9/12) - Updated the seed database and changed some resource names. (9/13) - Changed some ID entry rules. (9/15) - Removed some ID rules regarding limit enforcements. (9/15) - Updated label creation for Optimal Livestock. (9/16) - Created and executed some animal evaluations. (9/19) - Updated Database to Version 5.1.2. (9/19) - Updated the Administer Drugs activity. (9/23) - Flushed out the Add Drug Activity function. (9/30) - Updated evaluation filter units based on new IDs. (9/30) - Updated Database to 5.1.4. (9/30) - Updated Database to 5.1.5. (10/3) - Formatted some floats as strings. (10/6) - Changed tissue sample code to use lab ID instead of company ID. (10/8) - Replaced some SQLite functions with equivalent CASE expressions. (10/16) - Made some Animal History fragments more reusable. (10/16) - Added and removed some info from the Animal Info header. (10/21) - Reorganized basic and detailed animal info views and removed some unnecessary sections. (10/22) - Updated gradel wrapper to version 8.9. (11/3) - Updated the insertion of animal alerts. (11/4) - Updated Alerts Display to use a recycler view. (11/5) - Moved some animal action buttons to different spots. (11/7) - Flushed out the Animal Actions view model and activity combo. (11/10) - Updated the weaned animals in the Animal Female Breeding table. (11/11) - Moved Animal Details and Show Alerts to a right side drawer. (11/12) - Made Parentage and Breeding items nullable. (11/14) - Removed safe access on cursors in some scenarios. (11/14) - Removed an alert column from the animal table that no longer exists in the database. (11/27) - Adjusted drug tables and models to account for drug schema changes. Added Add Drug and Add Drug Lot to account for these changes. (11/28) - Updated entity ID typing to prepare for UUIDs. (11/28) - Updated Database to Version 5.4.1. (12/3) - Restructured the setup menu so that drug-related actions appear in their own submenu. (12/3) - Updated some SQL date and time formats to ISO formatters. (12/6) - Added reports and error reports to the directory list. (12/9) - Reverted changes to SQL date and time formats. (12/12) - Moved the Take Note button from the top bar. (12/16) - Removed a redundant column for user serial numbers. (12/16) - Updated SQL date and time formatters to ISO and added tests. (12/16) - Updated some database checks relating to feature launches. (12/17) - Updated the Database to Version 5.4.2. (12/17) - Added some checks and preference flags for navigating between different patch versions. (12/17) - Added preference tracking related to database versions and app versions. (12/18) - Added some validity tests that help prevent overwriting a working database. (12/19) ## Version 0.1.9RC14 (2023-04-02) ### Bug Fixes - Modifying queries to handle new V5 database schema. - Fixed setting an incorrect official_id flag on an EID tag that is not an 840 tag ### Known Issues - Setting defaults no longer working properly. - Adding a trich tag via update tags does not auto increment the trich tag number - Not currently verifying that the version of the database matches what is needed for specific versions of the code. - Not currently updating the time tags are put on or taken off. - No way to add multiple Premise ID's to a contact. - Premise ID's not properly attached to animal location records. ### Breaking Changes - Initial start of the V5 Database version ## Version 0.1.9RC13 (2023-04-02) ### Features - Change the user PRAGMA user versions and code levels to create the filenames for the backups to aid in debugging. - Added Simple Births option to collect numbers of offspring and sex of those offspring as an alert. ### Bug Fixes - More issues with Simple Sort - Fixed Ranch Owner query so that it defaults to Delta CO. ### Known Issues - Intermittent failure to write the updates to the database still under investigation. ## Version 0.1.9RC12 (2023-02-02) ### Features - Added option to change the evaluation type in set defaults. ### Bug Fixes - Fixed key problems with the additional evaluation characteristics for the Optimal Ag and Simple Sort options. - Fixed ability to change the Breeding Soundness Scoring from generic to Optimal Ag version. ## Version 0.1.9RC11 (2022-09-19) Android Version Number 9 Database Version 4 ### Bug Fixes - Fix missing evaluation record if no tissue sample was taken. - Added option to select the type of Breeding Soundness exam in the set defaults screen. This now includes Simple Sort as an option as well as the generic and the Optimal Ag versions. ### Features - Added Custom Evaluation Simple Sort to collect Keep vs Ship data quickly. ### Breaking Changes - Requires at least database version 4. Conversion from database version 0, 1, 2 or 3 is currently a manual process. Contact support for assistance in converting your current database. ## Version 0.1.9RC10 (2022-09-07) Android Version Number 9 Database Version 3 ### Bug Fixes - Fixed bad data stored when 2 breeds had identical display order numbers. - Fixed the species and breed spinner in Set Defaults - Updated contact info for where to send bug reports. - Fixed crash caused by inconsistent user pragma errors with older revs of the application - Fixed incorrect lab ID being stored in the test request table. - Fixed abbreviation for Beefalo to be BE instead of be ### Features - Added options to extend breeding soundness to cover other species. - Changed app name from Bull Breeding Soundness to Breeding Soundness. - Added species, breed, laboratory, test type, tissue type and sample container type to the Set Defaults screen. - Added a body condition score to the breeding soundness screen. - Added option of Optimal Ag Ram Scoring in place of the generic Breeding Soundness Exam scoring. This currently requires hand editing to make that the test type being used in the last_evaluation_table. - Added option to print last 3 characters of EID, Age in Years, Breed Abbreviation, Scrotal Circumference and Body Condition score in place of the line of text on the tube labels. - Added user system serial number, code version and database version to the filename when making a backup of the database. - Added tag time on and tag time off fields to database in preparation for future options to edit tag data for a specified time. - Removed printing trich tag number in bar code to handle multiple species. - Increased text size in many places for readability. ### Breaking Changes - Requires at least database version 3. Conversion from database version 0, 1 or 2 is currently a manual process. Contact support for assistance in converting your current database. ## Version 0.1.8 (2022-06-16) Android Version Number 8 Database Version 2 ### Bug Fixes - Fixed crash caused by updated database pragma user_version not handled correctly ## Version 0.1.7a (2022-05-23) Android Version Number 7 Database Version 2 ### Features - Use defaults stored in the database for setting initial selections for owner, vet, lab, tag colors for EID, trich and farm tags, locations for EID, trich and farm tags and next trich tag number. - Implemented an auto increment of trich tag number so it's easy to add a trich tag when adding a bull. Only works in new animal screen. - Implemented adding trich and farm tags when adding a bull without going to the update tags screen. - Added an alert for Recheck and Unsatisfactory tests so that it comes up on the screen when you re-scan that bull later. ### Bug Fixes - Fixed incorrect official_id flag for EID and trich tags. - Changed update tags screen so that the keyboard does not cover the add tag button. - Fixed incorrect flock_id for official 840 tags. Cattle do not have a flock_id. - Fixed remove tag reason of 0 for replaced tags. - Fixed null in tag date off when removing tags. - Fixed predefined note of 1 added to all notes even when no predefined note was added. - Fixed incorrect entries for birth weight, birth weight units, birthing history, management group, death reasons and inbreeding. Corrected to be empty so they are not null and also not zero. Required for proper queries. ### Breaking Changes - Requires at least database version 2. Conversion from database version 0 or database version 1 is currently a manual process. Contact support for assistance in converting your current database. ## Version 0.1.6 (2022-03-29) Skipped to get Android version number aligned with our internal version number. We didn't track all the various changes in detail for the early versions. We may go back and try to find them later but for now we'rve just got placeholders for what should be in here. ## Version 0.1.5 (2022-03-29) Android Version Number 6 ### Features ### Bug Fixes ### Breaking Changes ## Version 0.1.4 (2022-03-30) Android Version Number 5 ### Features ### Bug Fixes ### Breaking Changes ## Version 0.1.3 (2022-03-29) Android Version Number 4 ### Features ### Bug Fixes ### Breaking Changes ## Version 0.1.2 (2022-03-29) Android Version Number 3 ### Features ### Bug Fixes ### Breaking Changes ## Version 0.0.1 (2021-10-07) Android Version Number 2 ### Features - Initial publication of first demo code. ### Bug Fixes ### Breaking Changes ## Version 0.0.0 (2021) Android Version Number 1 ### Features - Initial test of creating a google play version. ### Bug Fixes ### Breaking Changes