212 Commits

Author SHA1 Message Date
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
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
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
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 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
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
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
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 2026-01-25 20:00:55 +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
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
lightheel
efa4bab144 Merge remote-tracking branch 'upstream/main' 2026-01-18 20:37:58 -05:00
jeffersoncarlospedroso
16fbfae0c2 feat(i18n): continue translation work 2025-12-11 22:38:43 +00:00
jeffersoncarlospedroso
0d174f1550 Add multilanguage support (i18n) initial implementation 2025-12-10 23:06:37 +00:00
lightheel
eb82c2afc1 Added BGM to battles. 2025-11-17 17:52:53 -05:00
lightheel
c774fd1536 Adjusted auth to not force login every time app is reopened. 2025-11-17 17:34:58 -05:00
lightheel
54b2905196 Changed to use small attack sprites instead of large. 2025-11-17 17:25:57 -05:00
lightheel
c4450296db Removed debugging logging. 2025-11-17 17:22:25 -05:00
lightheel
d1908d629a Fixed logout when swapping from screen orientation. 2025-11-17 16:52:07 -05:00
lightheel
67b56b3990 Reduced logging. 2025-11-17 16:37:59 -05:00
lightheel
b0c5d6375d Setup API calls to use User ID. 2025-11-17 15:06:42 -05:00
lightheel
29ff2805c3 Added NacaAuth for logging into Battles. 2025-11-17 14:31:18 -05:00
lightheel
b4d509aad9 Swapped from using internal app storage to android device storage. 2025-11-17 11:11:58 -05:00