|
Some checks are pending
Build Android (APK + AAB) / build-android (push) Waiting to run
Karlão reportou que toda vez que tenta parear no APK, o app fecha sem alert popup = crash nativo do plugin BLE Java. Hipótese: as chamadas extras que adicionei (ble.read no notify char + ble.write/writeWithoutResponse com 0x5A x4 wake bytes) crashavam o plugin v6 em algum estado inválido. Fix: remover wake-up sequence do path Capacitor. Mínimo viável: 1. ble.connect 2. ble.getServices 3. ble.startNotifications 4. delay 800ms 5. write JBD-0x03 com wnr forçado A descoberta no PC (Web Bluetooth) confirmou que JBD-0x03 direto (sem wake) já é suficiente — BMS responde com 41 bytes em 3 chunks. startNotifications agora também envolto em try/catch que retorna false se falhar (em vez de propagar exception nativa). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| schemas | ||
| auth.js | ||
| billing.js | ||
| db.js | ||
| google-calendar.js | ||
| index.js | ||
| notifications.js | ||
| realtime.js | ||