Environment.deviceId
Functional API
getDeviceIdYou can use the same feature with it as well.
Feature description
It is the unique identifier of the device in use. It can be used to save device-specific settings, analyze logs, and distinguish multiple devices belonging to the same user.
It's a constant value, so you can read it directly without calling anything.
Type
Environment.deviceId: string;Params
None
Response
It's a string.
Example code
import { Environment } from "@apps-in-toss/web-framework";
console.log(Environment.deviceId);Was this helpful?