Skip to content

Inventory client library written in Swift for developing applications on iOS

License

Notifications You must be signed in to change notification settings

Gianfranco97/flyve-mdm-ios-inventory

 
 

Repository files navigation

Inventory Library for iOS

Flyve MDM banner

Flyve MDM is a mobile device management software that enables you to secure and manage all the mobile devices of your business via a unique web-based console (MDM).

To get started, check out https://flyve-mdm.com/!

Table of contents

Synopsis

This library help you to create a complete inventory of your iOS devices: both hardware and software informations are collected. You get the data about processor, memory, drives, sensors, etc. and also the list and description of installed application on any devices in a beautifull XML as protocol compatible with FusionInventory for GLPI.

You can find more information here: http://fusioninventory.org/documentation/dev/spec/protocol/inventory.html

What's included?

  • Hardware
  • Bios
  • Memory
  • Inputs
  • Sensors
  • Drives
  • Cpus
  • Simcards
  • Videos
  • Cameras
  • Networks
  • Envs
  • Jvm
  • Softwares
  • Usb
  • Battery

Build Status

Build with Xcode 8.3.2 / Swift 3.1

Release channel Beta channel
Build Status Build Status

Installation

CocoaPods

Less Hassle, More OSS

https://cocoapods.org/pods/FlyveMDMInventory

Install using CocoaPods by adding this line to your Podfile:

use_frameworks! # Add this if you are targeting iOS 8+ or using Swift
pod 'FlyveMDMInventory'

Then, run the following command:

pod install

Carthage

Install using Carthage by adding the following lines to your Cartfile:

github "flyve-mdm/flyve-mdm-ios-inventory" "master"

Then, run the following command:

carthage update --platform iOS
  • On your application targets “General” settings tab, in the “Linked Frameworks and Libraries” section, drag and drop each framework you want to use from the Carthage/Build folder on disk.

  • On your application targets “Build Phases” settings tab, click the “+” icon and choose “New Run Script Phase”. Create a Run Script with the following contents:

/usr/local/bin/carthage copy-frameworks
  • And add the paths to the frameworks you want to use under “Input Files”, e.g.:
$(SRCROOT)/Carthage/Build/iOS/FlyveMDMInventory.framework

Code Example

It's easy to implement in your code

import FlyveMDMInventory

let inventoryTask = InventoryTask()
inventoryTask.execute("Agent_v1.0", tag:"1.0") { result in
    print(result)
}

** Tag is optional

Documentation

We share long-form content about the project in the wiki.

Contributors

Copying

  • Name: Flyve MDM is a registered trademark of Teclib'.
  • Code: you can redistribute it and/or modify it under the terms of the GNU General Public License (GPLv3).
  • Documentation: released under Attribution 4.0 International (CC BY 4.0).

About

Inventory client library written in Swift for developing applications on iOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 50.2%
  • Swift 24.4%
  • Shell 20.3%
  • Ruby 5.1%