decentrotech-fabric
v0.1.2
Published
Decentro Fabric SDK for React Native
Downloads
3
Maintainers
Readme
Decentro Fabric SDK
Welcome to the Decentro Fabric SDK! This React Native 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
Installation: Add the Decentro Fabric SDK to your
package.json
file:npm i decentrotech-fabric
Usage:
Generate UIStream Session link as documented here.
Use the following snippets as guides to add UIStream to your React Native app.
import { UIStreamWebViewScreen } from 'fabric'; export default function App() { return ( <UIStreamWebViewScreen uistreamSessionUrl="<uistream_session_link>" debugMode={true} /> ); }
API Documentation: Explore the detailed UIStreams documentation for more information.
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