xunil_blue_connect 0.0.3+1 copy "xunil_blue_connect: ^0.0.3+1" to clipboard
xunil_blue_connect: ^0.0.3+1 copied to clipboard

outdated

This plugin is bluetooth connect and management also check location setting and apply location permission.

xunil_blue_connect #

This package is bluetooth management.

import

import 'package:xunil_blue_connect/xunil_blue_connect.dart';

Call

XunilBlueConnect blueConnect = XunilBlueConnect();

And use like these as async

Bluetooth check available

await blueConnect.isBluetoothAvailable();

Check location setting

await blueConnect.checkSettingLocation();

Apply location permission

await blueConnect.applyPermissionLocation();

Bluetooth set enable

await blueConnect.bluetoothSetEnable();

Bluetooth set disable

await blueConnect.bluetoothSetDisable();

For Bluetooth and location permission

add in /android/app/src/main/AndroidManifest.xml

For Bluetooth

<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"  />

For Location

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"  />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"  />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"  />

TODO For Android

  • ✅ Check location setting
  • ✅ Apply location permission
  • ✅ Check bluetooth available
  • ✅ Bluetooth set enable
  • ✅ Bluetooth set disable
  • ❌ Establishing a connection
  • ❌ Discover devices
  • ❌ Discover services
  • ❌ Read / write a characteristic
  • ❌ Connection of multiple devices
  • ❌ Implement BLE
  • ❌ Clear GATT cache
  • ❌ Negotiate MTU size

TODO For IOS

  • ❌ Support IOS
  • ❌ Check location setting
  • ❌ Apply location permission
  • ❌ Check bluetooth available
  • ❌ Bluetooth set enable
  • ❌ Bluetooth set disable
  • ❌ Establishing a connection
  • ❌ Discover devices
  • ❌ Discover services
  • ❌ Read / write a characteristic
  • ❌ Connection of multiple devices
  • ❌ Implement BLE
  • ❌ Clear GATT cache
  • ❌ Negotiate MTU size
3
likes
0
points
10
downloads

Publisher

verified publisheralikilic.com.tr

Weekly Downloads

This plugin is bluetooth connect and management also check location setting and apply location permission.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on xunil_blue_connect

Packages that implement xunil_blue_connect