I'm trying to build a Tizen app in a React Native framework. One concern is to find the device id (whether physical tv or an emulator).
Consider the below code snippet:
class Home extends React.Component {
constructor() {
super();
}
render() {
return (
<Text style={styles.textH3}>
{`platform: ${deviceId}`} //How can I show deviceId here? Or device-specific info?
</Text>
)
}
}
export default Home;
Any idea how to get the deviceId
(something like its UUID
) in the above snippet, from the Tizen SDK
?