logo

pub package License: MIT

esp_provisioning_wifi

Library to provision WiFi on ESP32 devices over Bluetooth, using Bloc.

Requirements

Android 6 (API level 23)+

Make sure your android/build.gradle has 23+ here:

defaultConfig {
    minSdkVersion 23
}

Add this in your android/app/build.gradle at the end of repositories:

allprojects {
    repositories {
   	 ...
   	 maven { url 'https://jitpack.io' }
    }
}

Bluetooth permissions are automatically requested by the library.

iOS 13.0+

Add this in your ios/Runner/Info.plist:

<key>NSBluetoothAlwaysUsageDescription</key>
<string>Our app uses bluetooth to find, connect and transfer data between different devices</string>

Notes

flutter_esp_ble_prov

This library is a Bloc wrapper over flutter_esp_ble_prov.

esp-idf-provisioning-android

The Espressif Android Provisioning library is currently embedded in libs.