Setup¶
Javascript ( Web apps / Cordova apps )¶
See instructions to install the core library to communicate with Tap devices: @iotize/device-client.js. Other libraries can be found here.
Android¶
Only Android/Java is supported currently.
Requires at minimum Android 4.1.
IoTize Maven repository can be found at http://repo.iotize.com/artifactory/gradle-release
Download the latest JAR or grab via Maven:
With Maven¶
<dependency>
<groupId>com.iotize.android</groupId>
<artifactId>iotize-device</artifactId>
<version>1.0.0-alpha.6</version>
</dependency>
<dependency>
<groupId>com.iotize.android</groupId>
<artifactId>iotize-client</artifactId>
<version>1.0.0-alpha.6</version>
</dependency>
With gradle file¶
repositories {
// ...
maven {
// Add iotize repository url
url "http://repo.iotize.com/artifactory/gradle-release"
}
}
// ...
dependencies {
// ...
// Add iotize libraries
implementation 'com.iotize.android:iotize-device-api:1.0.0-alpha.6'
implementation 'com.iotize.android:iotize-client:1.0.0-alpha.6'
implementation 'com.iotize.android:iotize-device:1.0.0-alpha.6'
// Add communication libraries according to your needs
// NFC
implementation 'com.iotize.android:iotize-device-com-nfc:1.0.0-alpha.6'
// Bluetooth Low Energy
implementation 'com.iotize.android:iotize-device-com-ble:1.0.0-alpha.6'
// Socket and Wi-Fi
implementation 'com.iotize.android:iotize-device-com-socket:1.0.0-alpha.6'
}
iOS¶
See instructions available in the Github repository.