reclaim_flutter_sdk 0.0.1 copy "reclaim_flutter_sdk: ^0.0.1" to clipboard
reclaim_flutter_sdk: ^0.0.1 copied to clipboard

discontinued

The Reclaim Protocol's in App Flutter SDK.

Reclaim Protocol is a secure protocol that allows users to export their data from any website with provable authenticity, using HTTPS and zero-knowledge proof technology. The Reclaim Flutter SDK provides the full power of the Reclaim Protocol in a widget.

[Flutter SDK UI]

Features #

Use this package in your Flutter app to:

  • Show a Reclaim widget that opens a UI equivalent to the Reclaim Protocol App.
  • Ask users to create a verficiation based on a provider created in the Reclaim Developer Tool.
  • Supports pop-ups which allows for OAuth flows like Google login to work.
  • Recieve proofs in your Flutter app and dispatch actions based on them.

Getting started #

  • Get an Application ID from the Reclaim Developer Tool.
  • Create of choose a provider and get its ID from the dev tool.

Usage #

  • Import the Reclaim package:
import 'package:reclaim_flutter_sdk/reclaim_flutter_sdk.dart';
  • Include the ReclaimVerification widget in your app:
ReclaimVerification(
    appId: 'YOUR_APP_ID',
    providerId: 'aaa47198-2523-40da-b9a9-bfa290730d52',
    secret: '',/**/
    context: '',
    parameters: { /* ... */ },
    onSuccess: (proof) { /* Handle success */ },
    onError: (error) { /* Handle error */ },
    child: const Text('Start Claim'),
)
  • Check out the Example.

Additional information #