README
React Native Android Inventory
Table of contents
Synopsis
The React Native Inventory Library collects a complete inventory of your Android devices. It allows you to export your inventory in a beautiful XML or JSON as protocol compatible with FusionInventory for GLPI.
You can find more information about the Inventory Protocol here: http://fusioninventory.org/documentation/dev/spec/protocol/inventory.html
Data collected
- Account Info
- Accesslog
- Hardware
- User
- Storages
- Operating System
- BIOS
- Memories
- Inputs
- Sensors
- Drives
- CPUs
- Videos
- Cameras
- Networks
- Environments variables
- JVMS
- Softwares
- USB
- Battery
- Controllers
Visit our website for every element specification.
Instalation
$ npm install react-native-android-inventory --save
Mostly automatic installation
$ react-native link react-native-android-inventory
Manual installation
Android
- Open up
android/app/src/main/java/[...]/MainActivity.java
- Add
import com.reactlibrary.RNAndroidInventoryPackage;
to the imports at the top of the file - Add
new RNAndroidInventoryPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-android-inventory' project(':react-native-android-inventory').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-android-inventory/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:implementation project(':react-native-android-inventory')
Usage
import CreateInventory from 'react-native-android-inventory';
// Instead of appVersion, put the number.
CreateInventory.createInventory("appVersion");
Documentation
We maintain a detailed documentation of the project on the website, check the How-tos and Development section.
Contribute
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the Issues Dashboard.
Professional Services
The Flyve MDM and GLPI Network services are available through our Partner's Network. We provide special training, bug fixes with editor subscription, contributions for new features, and more.
Obtain a personalized service experience, associated with benefits and opportunities.