BigBrainParking/app/modules/bbp-notify
Erik 2b973348bc
All checks were successful
build-apk / build (push) Successful in 28m23s
v0.2.4: fix countdown notification not appearing + wrong time-remaining
Countdown notification "nothing appears" on session start:
- The small icon was the adaptive launcher mipmap (applicationInfo.icon),
  which Android 13+/GrapheneOS rejects as an invalid notification small icon
  and drops the post silently. Ship a proper white-on-transparent vector
  small icon (bbp_stat_parking) inside the module and use it.
- showCountdown now returns a diagnostic string (posted / notifications
  disabled / exception) instead of swallowing failures; JS logs the branch,
  permission result, and native outcome to the in-app diagnostics log.
- Log the raw active-session payload in refreshSessionStatus (element shape
  was previously unconfirmed).

Time remaining showed "7694 min":
- API's TimeRemaining is SECONDS, not minutes. Format it as hours+minutes
  in SessionDetail; annotate the type.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-15 21:55:45 +00:00
..
android v0.2.4: fix countdown notification not appearing + wrong time-remaining 2026-07-15 21:55:45 +00:00
expo-module.config.json v0.2.3: true ticking countdown via a tiny native module (no deps) 2026-07-13 21:03:53 -07:00
index.ts v0.2.4: fix countdown notification not appearing + wrong time-remaining 2026-07-15 21:55:45 +00:00
package.json v0.2.3: true ticking countdown via a tiny native module (no deps) 2026-07-13 21:03:53 -07:00