flutter_electronicid 1.6.2 copy "flutter_electronicid: ^1.6.2" to clipboard
flutter_electronicid: ^1.6.2 copied to clipboard

discontinued
PlatformAndroidiOS

A Flutter Plugin that integrates the Native Android and iOS SDKs of Electronic ID, an Identity Verification Provider.

flutter_electronicid #

pub package

Wrapper around the Electronic ID Android and iOS SDKs for Flutter.

Usage #

import 'package:flutter_electronicid/flutter_electronicid.dart';

// ...

const endpoint = 'https://etrust-sandbox.electronicid.eu/v2';

void openVideoId() async {
  final videoId = await FlutterElectronicId.openVideoID(
    configuration: VideoIDConfiguration(
    authorization: '<your electronic ID authorization token>',
      language: 'en',
      endpoint: endpoint,
    ),
  );
  ScaffoldMessenger.of(context).showSnackBar(SnackBar(
    content: Text('Video ID OK: $videoId'),
  ));
}

void checkRequirements() async {
  final success = await FlutterElectronicId.checkRequirements(endpoint);
  ScaffoldMessenger.of(context).showSnackBar(SnackBar(
    content: Text('Video ID Requirements Passed: $success'),
  ));
}

See ./example/lib/main.dart for a complete example.

Development #

For full IDE support during development, make sure to add the following to the local.properties file in ./example/android

sdk.dir=<path_to_android_sdk>
flutter.sdk=<path_to_repository>/flutter_electronicid/.fvm/flutter_sdk
0
likes
120
pub points
0%
popularity

Publisher

verified publishermietz.app

A Flutter Plugin that integrates the Native Android and iOS SDKs of Electronic ID, an Identity Verification Provider.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_electronicid