Demo

Connectivity & context

Bluetooth, network, battery, and geolocation APIs from @quan-erp/shared-frontend-core.

Overview

Device connectivity and environmental context — BLE, network status, battery level, and geolocation — all via singleton .instance APIs.

  • Bluetooth — BLE scan/connect; web requires a user gesture
  • Network — online/offline monitoring via @capacitor/network
  • Battery — unified wrapper around the Web Battery API
  • Geolocation — @capacitor/geolocation on mobile; navigator.geolocation on web
  • Background location — reserved placeholder; do not depend on it yet