decentrotech_fabric 0.1.2 copy "decentrotech_fabric: ^0.1.2" to clipboard
decentrotech_fabric: ^0.1.2 copied to clipboard

Decentro Fabric SDK for Flutter, enabling easy integration of Decentro UIStreams.

Decentro Fabric SDK #

Welcome to the Decentro Fabric SDK! This Flutter SDK allows you to seamlessly integrate UIStream workflows into your applications. With UIStream, you can empower your users to interact with Decentro's powerful features while maintaining a near-native experience.

Features #

  • UIStream Flows: UIStream flows provide dynamic UI components for specific functionalities. Here are some of the most commonly used flows:

    • AADHAAR: Retrieve Aadhaar documents from sources like DigiLocker, UIDAI, or CKYC and send the document BASE64 in the callback URL.
    • DIGILOCKER: Streamline the entire DigiLocker workflow through a single API, enabling seamless interaction with DigiLocker services.
    • CAR_INSURANCE_POLICY: Fetch Car Insurance Policy documents dynamically from issuers on DigiLocker.
    • VEHICLE_REGISTRATION_CERTIFICATE: Obtain Vehicle Registration Certificate documents in real-time from DigiLocker.

Getting Started #

  1. Installation: Add the Decentro Fabric SDK to your pubspec.yaml file:

    dependencies:
      decentrotech_fabric: ^0.1.2
    
  2. Usage:

    Generate UIStream Session link as documented here.

    Use the following snippets as guides to add UIStream to your Flutter app.

    import 'package:decentrotech_fabric/decentrotech_fabric.dart';
    
    // Initialize UIStream Screen
     UIStreamWebView(
       uistreamUrl: "<uistream_session_link>",
     );
    
    // Example: Configure UIStream Route
    onGenerateRoute: (RouteSettings routeSettings) {
     return MaterialPageRoute<void>(
         settings: routeSettings,
         builder: (BuildContext context) {
             switch (routeSettings.name) {
                 case "/<uistream_route>":
                     return UIStreamWebView(
                         uistreamUrl: "<uistream_session_link>",
                     );
                 default:
                     return DefaultScreen()
             }
         }
     )
    }
    
  3. API Documentation: Explore the detailed UIStreams documentation for more information.

  4. Sample App: Check out our sample app on GitHub to see UIStream in action.

License #

This SDK is closed-source and proprietary. Please refer to the LICENSE.md file for licensing details.


Decentro - Building the future of fintech infrastructure 🚀 Learn more at decentro.tech

1
likes
150
points
30
downloads

Publisher

verified publisherdecentro.tech

Weekly Downloads

Decentro Fabric SDK for Flutter, enabling easy integration of Decentro UIStreams.

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

flutter, flutter_inappwebview, url_launcher

More

Packages that depend on decentrotech_fabric