getMobileAppInfo
Gets what the mobile app and its device report about themselves.
Import:
import { getMobileAppInfo } from '@mnaoumov/obsidian-lib/mobile-app-info';Signature:
function getMobileAppInfo(): Promise<MobileAppInfo | null>Returns: Promise<MobileAppInfo | null> — The app’s version and the device’s operating system, or null where there is no Capacitor bridge. Each field is null when its call fails or answers in an unexpected shape.