DeviceInfo¶
Basic device hardware and OS information returned by BackgroundGeolocation.getDeviceInfo.
final info = await BackgroundGeolocation.deviceInfo;
print('[DeviceInfo] ${info.manufacturer} ${info.model} (${info.platform})');
Members¶
framework¶
Development framework hosting the SDK.
Examples: "react-native", "capacitor", "cordova", "flutter"
manufacturer¶
Device manufacturer.
Examples: "Apple", "Google", "Samsung", "Huawei"
model¶
Device model identifier.
Examples: "iPhone15,2", "Pixel 8 Pro", "SM-G991B"
platform¶
OS platform name: "iOS" or "Android".
version¶
OS version string.
Examples: "18.1", "14", "14.1.1"