@abi96/react-native-aadhaar-ui-sdk
v0.0.2
Published
A locked, professional UI SDK for Aadhaar Verification Demonstration.
Maintainers
Readme
Aadhaar Verification UI SDK (@abi96/react-native-aadhaar-ui-sdk)
A high-security, locked-down React Native SDK for Aadhaar Verification Demonstration. This SDK is designed for enterprise integration where UI consistency and data security are paramount.
Features
- Black-Box UI: Pre-styled, professional verification interface.
- Sealed Internals: No access to internal logic, styles, or APIs.
- Mock Verification: Simulated verification logic for demonstration purposes.
- Enterprise Grade: Built with security and scalability in mind.
Installation
npm install @abi96/react-native-aadhaar-ui-sdkor
yarn add @abi96/react-native-aadhaar-ui-sdkNote: This SDK requires
reactandreact-nativeas peer dependencies.
Usage
The SDK exposes exactly one component: AadhaarSDK.
import React from 'react';
import { AadhaarSDK } from '@abi96/react-native-aadhaar-ui-sdk';
const App = () => {
const handleSuccess = (data) => {
console.log('Verification Successful:', data.verificationId);
};
const handleFailure = (error) => {
console.error('Verification Failed:', error.reason);
};
return (
<AadhaarSDK
onSuccess={handleSuccess}
onFailure={handleFailure}
/>
);
};
export default App;Public API
<AadhaarSDK />
| Prop | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| onSuccess | (data: { status: "VERIFIED", verificationId: string }) => void | Yes | Callback triggered on successful verification. |
| onFailure | (error: { status: "FAILED", reason: string }) => void | Yes | Callback triggered on failed verification. |
Restrictions (Locked SDK)
To maintain security and UI integrity, the following are NOT permitted:
- Modifying the UI or styles.
- Overriding themes or colors.
- Accessing internal verification APIs.
- Passing children to the component.
- Debugging or inspecting internal state.
Disclaimer
This is a DEMO SDK.
- It does not connect to the UIDAI backend.
- It does not store or process real Aadhaar numbers.
- Aadhaar numbers are validated based on length (12 digits) for demonstration purposes only.
Developed by Antigravity © 2026
