Simple device information, as returned by BackgroundGeolocation.getDeviceInfo.
This provides basic model and platform info without needing external native dependencies.
import BackgroundGeolocation from "react-native-background-geolocation";const info = await BackgroundGeolocation.getDeviceInfo();console.log(`[DeviceInfo] ${info.manufacturer} ${info.model} (${info.platform})`); Copy
import BackgroundGeolocation from "react-native-background-geolocation";const info = await BackgroundGeolocation.getDeviceInfo();console.log(`[DeviceInfo] ${info.manufacturer} ${info.model} (${info.platform})`);
Device model.
Examples:
Device manufacturer.
OS Version (human readable string).
OS platform name.
One of:
"iOS"
"Android"
Development framework hosting the SDK.
For example:
"react-native"
"capacitor"
"cordova"
"flutter"
Simple device information, as returned by BackgroundGeolocation.getDeviceInfo.
This provides basic model and platform info without needing external native dependencies.
Example