@akostdev/device-model
Get IOS device model
Install
npm install @akostdev/device-model
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>
getModelInfo()
getModelInfo() => Promise<{ model: string; }>
Returns: Promise<{ model: string; }>