Demo

System services

Platform detection, device tier, metrics, locale, notifications, PluginAPI, assets, backend URL, and number formatting from @quan-erp/shared-frontend-core.

Overview

System services from @quan-erp/shared-frontend-core — platform detection, device performance tier, metrics, locale, notifications, cross-plugin registry, asset URLs, backend root URL, and number formatting.

  • Platforms — isDesktop(), isMobile(), isWeb()
  • DeviceClassTier — detect() → low | mid | high
  • System — CPU / memory / info metrics
  • SystemLocale — getDeviceLocale()
  • Placeholders — SafeArea, Permissions, Firebase (not ready)
  • Notification — requestPermission, sendNotification
  • PluginAPI — expose / use / debug
  • PluginAssets — PluginAssets.network(metadata, path)
  • BackendAPI — setBackendAPI / getBackendAPI
  • NumberFormatter — NumberFormatter.format(num, locale, options)