272 Commits

Author SHA1 Message Date
b13st
4eaf6cdf1b Fix double character deletion causing crash on HCE transfer to VitalWear
Character was deleted from the local DB both right after sendCharacterToWatch
and again in WritingScreen's completion callback. The second deletion failed
because the character no longer existed, causing the reported random crash
when sending back to the watch. Deletion is now handled only once, in
WritingScreen.
2026-07-01 15:00:56 +02:00
b13st
416b30f7a8 improving various visuals 2026-07-01 13:51:34 +02:00
df713855f5 I forgot to update the version number. 2026-06-29 21:26:11 +02:00
e5ccff16d0 Pulidora industrial
- Removed all the warnings during building
- Upgraded all the libraries
- Upgraded grandle and the SDK version
- Fix japanese strings
- Added vibration permission
v0.6.5-pre
2026-06-29 16:15:12 +00:00
4b866aad8a
Merge pull request #57 from b13st/fix/special-missions-nan-crash
Fix special missions crash and NaN% stat display
2026-06-24 23:05:51 +02:00
33ad2728b8
Merge pull request #56 from b13st/fix/hce-character-cloning
Fix/hce character cloning
2026-06-24 23:04:53 +02:00
b13st
05f04fdc49 Fix LaunchedEffect key so characterToNfc runs when active character loads
When launching the scan screen from the home button, characterId is
loaded asynchronously from the active character. The previous key
(storageRepository) never re-triggered the effect, so characterToNfc
(which sets pendingExportCharacterId) was skipped if characterId was
null on first composition, making the HCE delete unreachable.
2026-06-24 15:40:19 +02:00
b13st
07315fe11b Delete character from app after successful HCE transfer to VitalWear watch
When sending a character to the VitalWear watch via HCE, the transfer
is atomic (single NFC interaction). The character was being left in the
app after transfer, allowing it to be cloned indefinitely.

Delete the character from the database immediately after sendCharacterToWatch
succeeds, matching the behavior of physical bracelet transfers which delete
the character once both write phases complete.
2026-06-24 15:29:58 +02:00
b13st
2e72b543f6 Fix special missions crash and NaN% stat display
- Fix crash when tapping a completed special mission: onClickCollect
  was ignoring the missionId passed by SpecialMissionsEntry and using
  selectedSpecialMissionId (-1 by default), causing Room to query id=-1
  on a non-nullable Flow which throws when no row exists.
- Fix NaN% in current phase win rate: the guard was checking
  totalBattlesLost==0 but dividing by currentPhaseBattles, producing
  0/0=NaN when total>0 but current phase has no battles yet.
- Guard against empty items list in clearSpecialMission to avoid
  NoSuchElementException from random() on an empty collection.
2026-06-24 15:24:54 +02:00
81bfec5ac5
Merge pull request #55 from b13st/fix/vitalwear-hce-transfer
Fix VitalWear HCE transfer in both directions
2026-06-23 20:30:46 +00:00
8ec98b9d39
Merge pull request #54 from shiki8826/main
Thank you very much
2026-06-23 20:30:04 +00:00
b13st
e549fb4469 Fix VitalWear HCE transfer in both directions
- Detect ISO-DEP tags (VitalWear watch) vs NFC-A (physical bracelets)
- Watch->Phone: use VitalWearHceReaderClient + VitalWearCharacterImporter
- Phone->Watch: use VitalWearHceReaderClient + VitalWearCharacterExporter
- Add AppDatabase to ScanScreenControllerImpl for HCE import/export
- Extract buildCharacterProto() from VitalWearCharacterExporter
- Add JitPack repository to settings.gradle.kts
2026-06-23 13:44:26 +02:00
shiki8826
8d62437aae 日本語翻訳の修正及び追加項目の翻訳 2026-06-19 20:46:23 +09:00
7a8815694d Remove test file, i'm not figuring this out tonight v0.6.4-pre 2026-06-18 22:44:14 +00:00
464f2e48a7 Add basic migration to support the vitalwear thing 2026-06-18 22:37:51 +00:00
f641e8aaa0 Compile fix before merging 2026-06-18 22:17:52 +00:00
c67dc4bd02
Merge pull request #52 from shiki8826/main
Japanese Translation
2026-06-13 00:51:40 +02:00
8aa31e819b
Merge pull request #53 from 457R0/main
This should be the correct one without problem-report
2026-06-13 00:50:49 +02:00
shiki8826
bd8883e5d1 日本語翻訳追加 2026-06-09 23:11:30 +09:00
shiki8826
b094d6ccd3 日本語翻訳追加 2026-06-09 22:57:47 +09:00
Taveon Nelson
6c257b2080 HCE Savepoint
This is HCE before companion merge
2026-05-26 03:36:45 -05:00
Taveon Nelson
04ea584c4f Delete problems-report.html
removing useless files
2026-05-26 03:20:04 -05:00
af27fc4933
Merge pull request #49 from Cantalapiedra/patch-1
Update README.md
2026-05-24 21:19:05 +02:00
1fffab25bd
Merge pull request #51 from lightheel/main
Merging battle system into repo.
2026-05-24 21:18:00 +02:00
Taveon Nelson
1a83527590 speeding up HCE 2026-05-18 17:28:24 -05:00
Taveon Nelson
431be5faea Battlescreen login loop fix 2026-05-18 05:46:40 -05:00
Taveon Nelson
9aa62f0d81 companion reup 2026-05-18 05:17:08 -05:00
Taveon Nelson
8fd4f6c414 VBH is the companion app now
Got tired of having to reinstall all three apps so i ported the companion apps features to vitalwear, now you only need VBH and Vitalwear.

I've also added emblems to items in icons so user isnt confused.
2026-05-18 04:57:57 -05:00
457R0
f829efae68 Overwrite with local version 2026-05-03 18:07:07 -05:00
Taveon Nelson
895b704c8d Make VBH-VW transfer DB owner via provider and shared transfer DAO 2026-04-21 18:57:38 -05:00
Taveon Nelson
d40428ccfd Reduce duplicate HCE scans and suppress NFC redispatch 2026-04-21 15:00:14 -05:00
Taveon Nelson
cd9a6d5d80 Add VitalWear HCE reader client 2026-04-21 14:41:06 -05:00
Taveon Nelson
e0a086d9aa This patch enables transfer between vitalwear and VBH 2026-04-21 14:36:27 -05:00
Taveon Nelson
e787ea4a19 Initial commit of VBHelper 2026-04-18 17:19:34 -05:00
Taveon Nelson
5273bae7b6 Update: changes and new files from local development 2026-04-18 07:24:06 -05:00
Carlos P Cantalapiedra
706f30ea49
Update README.md
Step 2 "VB Arena" should read "VB Helper"
2026-04-03 10:15:36 +02:00
lightheel
3f29d725ea Updated opponent list to show display name. 2026-03-06 15:16:43 -05:00
lightheel
977896d296 Merge bugfixes. 2026-03-06 12:20:28 -05:00
lightheel
654529c851 Merge remote-tracking branch 'upstream/main' 2026-03-06 10:56:32 -05:00
366f425539 Updated libraries
Moved library definitions to the catalog, and updated the catalog
2026-01-28 02:05:43 +01:00
37076a9bf0 VERSION UP v0.6.3-pre 2026-01-25 20:00:55 +01:00
8c99046edb
Merge pull request #47 from nacabaro/specialMissions/fix
Fix Special Missions a bit more
2026-01-25 19:58:39 +01:00
c990a495b7 Fix Special Missions a bit more
Now they should behave a bit better, and it will not allow the watch to have multiple missions of the same type, plus you can now delete special missions.
2026-01-25 19:58:03 +01:00
0e61723db1
Merge pull request #46 from nacabaro/ui/cardIcon
Card icon in home screen
2026-01-25 17:53:30 +01:00
8815907563 Card icon in home screen
Together with character sprite
2026-01-25 17:35:54 +01:00
lightheel
566e2ec977 Battles now update wins/losses in room DB. 2026-01-21 22:53:42 -05:00
lightheel
65a7ccb221 Fixed resume battle max HP display bug. 2026-01-21 21:27:11 -05:00
lightheel
2201b7d0fe Setup resume/quit options if match gets disconnected before it finishes. 2026-01-21 20:23:51 -05:00
lightheel
a9c354ad8a Updated to use Long instead of Int on playerID. 2026-01-19 22:21:05 -05:00
lightheel
9365bc0215 API calls now use X-Session-Token. 2026-01-19 22:16:09 -05:00