Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

Inventory client library written in Swift for developing applications on iOS

License

Notifications You must be signed in to change notification settings

flyve-mdm/ios-inventory-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inventory Library for iOS

Flyve MDM banner

License Badge w/ Version Badge w/ Platform Follow twitter IRC Chat Telegram Community Conventional Commits Greenkeeper badge GitHub release Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build Status

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 Flyve MDM!

Table of contents

Synopsis

This library helps you to create a complete inventory of your iOS devices: both hardware and software informations are collected. You get the data about networks, memory, drives, etc., in a beautifull XML 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

What's included?

  • Hardware
  • Bios
  • Operating System
  • Memory
  • Storages
  • Drives
  • Cpus
  • Simcards
  • Videos
  • Cameras
  • Networks
  • Battery

Visit our website for more information.

Build Status

Build with Xcode 8.3.2 / Swift 3.1

LTS Bleeding Edge
Build Status Build Status

Installation

CocoaPods

Less Hassle, More OSS

Install using CocoaPods by adding this line to your Podfile:

target "MyApp" do
  use_frameworks! # Add this if you are targeting iOS 8+ or using Swift  
  pod "FlyveMDMInventory", "~> 1.2"
end

Then, run the following command:

pod install

You can find more information of Inventory Library for iOS on Cocoapods.

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 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.

Contact

For notices about major changes and general discussion of Flyve MDM development, subscribe to the /r/FlyveMDM subreddit. You can also chat with us via IRC in #flyve-mdm on freenode or @flyvemdm on Telegram. Ping me @hectorerb in the IRC chatroom or in the Telegram Dev Group if you get stuck.

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.

Copying