flocon_qr_scanner

Connects your app to the Flocon desktop debugger by scanning the QR code it shows (Android, iOS, macOS), so nobody has to type the IP address.

Installation

There is no release on pub.dev yet, depend on the repository:

dependencies:
  flocon:
    git:
      url: https://github.com/openflocon/FloconFlutter.git
      path: packages/flocon
  flocon_qr_scanner:
    git:
      url: https://github.com/openflocon/FloconFlutter.git
      path: packages/flocon_qr_scanner

Usage

import 'package:flocon_qr_scanner/flocon_qr_scanner.dart';

FloconQrScannerView(onResult: (result) {
  if (result is FloconConnectResultConnected) Navigator.pop(context);
})

Declare the camera usage: NSCameraUsageDescription (iOS, macOS), the CAMERA permission (Android), com.apple.security.device.camera in the macOS entitlements. mobile_scanner needs minSdk 23 on Android.

See the full documentation and the example.

License

MIT, see LICENSE.

Libraries

flocon_qr_scanner
Connects the app to the Flocon desktop by scanning its QR code.