@deep-foundation/capacitor-device
v20.0.3-dev.5
Published
A deep package based on [`@capacitor/device`](https://www.npmjs.com/package/@capacitor/device)
Downloads
60
Readme
A deep package based on @capacitor/device
Table Of Contents
Prerequisitions
- Install this package in your deep by using npm-packager
- Provide permissions to this package
Quick Start
- Insert a link of type
Device
- Change its object value to the object with properties described in Device Object Value and this update will be handled by the
UpdateHandler
to representDevice
object value as links or
Insert a link of any type with a any name of the list described in Device Object Value fromDevice
link to the sameDevice
link and set its value to the value of the corresponding property of theDevice
object value
Note: You can use library of this package to do operations described above. Read about it in Documentation
Device Object Value
The Device
link can have object value.
No one field is required. You can add any fields as you want. Only the fields that are supported by this package will be represented as links
Supported fields can be found in the DeviceInfo
interface
Example of Device Object Value
Update Handling
Device
updates are handled by the UpdateHandler
to represent Device
object value as links
Contribution
Feel free to contribute. Please fork the repository and submit a pull request for any bugs, improvements, or features.