info-glass
v1.0.4
Published
A pure javascript react native component to get info about the mobile device, e.g. OS, manufacturer, and model.
Downloads
3
Maintainers
Readme
info-glass
A pure javascript react native component to get info about a mobile device, e.g. OS, manufacturer, and model.
Description
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.
Example Usage
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.
iOS
Android
Questions
Leave comments or bug reports here on github in the project's issues.
On GitHub
https://github.com/starpebble/info-glass