Closed ThierryThevenet closed 1 year ago
https://pub.dev/packages/device_info_plus
First step, just collecting intel : getting list of info we can get from both ios and android.
first step Size: S
the device info wich can I get:
{systemName: iOS, isPhysicalDevice: false, utsname: {release: 22.1.0, sysname: Darwin, nodename: Talebs-MacBook-Pro.local, machine: iPhone15,3, version: Darwin Kernel Version 22.1.0: Sun Oct 9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000}, model: iPhone, localizedModel: iPhone, systemVersion: 16.1, name: iPhone 14 Pro Max, identifierForVendor: 5C078CE5-21A4-4AAE-9A60-4AA88FB7F7C4}
json-ld:
{
"@context": ["https://www.w3.org/2018/credentials/v1",
{
"DeviceInfo" : {
"@id": "https://github.com/TalaoDAO/context/blob/main/README.me",
"@context": {
"@version": 1.1,
"@protected": true,
"schema" : "https://schema.org/",
"id": "@id",
"type": "@type",
"systemName" : "schema:productName",
"device" : "schema:productName",
"systemVersion" : "schema:productName",
"identifier" : "schema:productID",
"issuedBy": {
"@id": "schema:issuedBy",
"@context": {
"@version": 1.1,
"@protected": true,
"name" : "https://schema.org/name"
}
}
}
}
}
],
"id": "",
"type": ["VerifiableCredential", "DeviceInfo"],
"issuer": "",
"issuanceDate": "",
"credentialSubject" : {
"type" : "DeviceInfo",
"systemName" : "",
"device" : "",
"systemVersion" : "",
"identifier" : "",
"id": "",
"issuedBy" : {
"name" : "My wallet"
}
}
}
Device model and operating system. see Hugo for design type is DeviceInfo