Context
We are porting a Samsung TV app from a Tizen web app to flutter-tizen. On the web build, our device identity — the key that identifies a TV in our database — was:
webapis.productinfo.getDuid()
On flutter-tizen we switched to device_info_plus_tizen and are using TizenDeviceInfo.tizenId instead. Per the plugin source that maps to the Tizen platform capability:
// tizen/src/device_info_plus_tizen_plugin.cc
{"tizenId", "http://tizen.org/system/tizenid"},
That is a different identifier from the DUID, which leaves us with two questions.
1. Is it possible to expose webapis.productinfo.getDuid() in the plugin?
Is there a native or TizenFX equivalent we've missed, and if so, could device_info_plus_tizen expose it?
2. Does tizenId survive a factory reset or a firmware update?
If the DUID isn't reachable, this decides whether we can use tizenId as our device key at all — if it changes, the TV no longer matches its record in our database.
We couldn't find this documented anywhere. The Tizen system-key docs only describe the value as "a randomly generated value based on the model name", which doesn't say how it behaves across either event.
- Does it survive Settings > Self Diagnosis > Reset (factory reset)?
- Does it survive a firmware update?
A pointer to existing documentation is just as good as an answer.
Thanks for the plugin.
@seungsoo47
Context
We are porting a Samsung TV app from a Tizen web app to flutter-tizen. On the web build, our device identity — the key that identifies a TV in our database — was:
On flutter-tizen we switched to
device_info_plus_tizenand are usingTizenDeviceInfo.tizenIdinstead. Per the plugin source that maps to the Tizen platform capability:That is a different identifier from the DUID, which leaves us with two questions.
1. Is it possible to expose
webapis.productinfo.getDuid()in the plugin?Is there a native or TizenFX equivalent we've missed, and if so, could
device_info_plus_tizenexpose it?2. Does
tizenIdsurvive a factory reset or a firmware update?If the DUID isn't reachable, this decides whether we can use
tizenIdas our device key at all — if it changes, the TV no longer matches its record in our database.We couldn't find this documented anywhere. The Tizen system-key docs only describe the value as "a randomly generated value based on the model name", which doesn't say how it behaves across either event.
A pointer to existing documentation is just as good as an answer.
Thanks for the plugin.
@seungsoo47