~cytrogen/vbhelper

Things items related
- Added a MyItems screen
- Added an ItemElement placeholder
- Included database with all the items in the app (not final)
- Also included some demo items

As of now items don't do anything, i'm still making the UI
Merge pull request #21 from nacabaro/db/data_export

Forgot to include the settingsscreencontroller interface my bad
Forgot to include the settingsscreencontroller interface my bad
Merge pull request #20 from nacabaro/db/data_export

Added data importing/exporting
Finished refactoring the old SettingsScreenController.kt
Forgot to close DB before importing process
This will clear the database lock file before closing the application, ensuring that during the second startup the application does not see anything weird with the data. Not closing the database before import can lead to weird behavior.
Data export working
During export the database will be closed, otherwise the WAL will ruin the export. data will be saved as a .vbhelper file, then the app will be closed to avoid making any changes to the DB
For import, we check if the extension is .vbhelper, otherwise we can corrupt the database, IMPORTANT. Next we delete everything related to RoomDB and we swap it with the new files. Finally the app will be closed to ensure RoomDB is running on the new DB.

Finally, I still have to reintegrate the importApk functionality with the NewSettingsScreenController and get rid of the old one.
Merge pull request #19 from nacabaro/dex/functionality

Dex stuff
Dex stuff
- Added dex domain model, and rearranged class
- Added dex functionality to the dex screen, and updated the corresponding controller
Merge pull request #18 from nacabaro/ui/home_screen

A lot more things
Merge branch 'main' into ui/home_screen
Merge pull request #17 from cfogrady/ObscuredDex

Algorithm to obscure undiscovered digimon
A lot more things
- Moved scan button to inside the home screen
- Added items screen
- Scanning functionality updated to work with BEms
- Different home screen layouts depending on the configuration (BE with BEm, BE with DIm, since they don't have the same data, looking at you, special training)
- It is now possible to import BEms
- Character size is now more accurate, (no more big babies)
- Once sent to the watch, characters are deleted from the app, and it shouldn't fail
- Updated domain model to support evolution history.

TODO:
- Reorganize some of the code, mostly SQL queries and reorganize the scan screen functionality
- Create home layout for the VB watch
- Start figuring out reading data from the VB
    - Also create VB data domain model
    - Also start figuring out writing to the VB (it's 3 steps)
- Block off scan button until secrets are imported
- Start working with the dex
    - Update domain model
    - Use cfogrady's blank character when not seen
- Cancel character upload in case the app database does not contain the card for it (otherwise, the watch will delete the character)
- Export character data (in case of any app issues or changing phones)

(Also added some more icons)

Woo
98bd74c5 — Christopher O'Grady 1 year, 3 months ago
Algorithm to obscure undiscovered digimon

Logic still needs to be implemented to distinguish discovered from undiscovered.
Quicm fix, DisposableEffect isn't reloading when isDoneSendCard is true

TODO: add more disposableeffects
Merge pull request #16 from nacabaro/ui/home_screen

UI/home screen
Merge pull request #14 from cfogrady/home_screen

Fix arrays for NFCCharacter
Merge pull request #15 from nacabaro/ui/home_screen

A few things, again...
c5e8236e — Christopher O'Grady 1 year, 3 months ago
Fix arrays for NFCCharacter
A few things, again...
- Added ability to write character (incomplete)
- Renamed BottomNavItem.kt to NavigationItems.kt, as it covers the entire application navigation, not just the bottom navigation bar
- Modified the ScanScreenController and the Impl to accomodate writing characters on the BE (need to do the VB later on)
- Modified repositories to fetch data from the database and additional information needed to convert back to NfcCharacter
- Function to convert to NfcCharacter

Originally this was also going to cover the home screen, since my idea was to have marked as active (the one shown in the home screen) be the one sent to the watch, but for testing I have added a "send to bracelet" button on the pop-up on the storage screen.
Next