A pure javascript react native component to get info about a mobile device, e.g. OS, manufacturer, and model.
info-glass is a react native component that provides device info. info-glass can provide:
- OS name and version
- manufacturer
- model
to a react-native app. The component is written in javascript, convenient for some react native apps.
The component asynchronously provides device info to a parent component.
See the example app InfoGlassExampleApp in the examples directory.
JSX code snippet from the example app ...
<View style={styles.container}>
<Text>π InfoGlass Example App π‘</Text>
<Text>{OS}</Text>
<Text>{Manufacturer}</Text>
<Text>{Model}</Text>
<InfoGlass
callback={this._callback}
/>
</View>
Screenshots of the example app.
Leave comments or bug reports here on github in the project's issues.