
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
react-native-kalapa-tpbank-ekyc
Advanced tools
A React Native SDK for implementing eKYC (Electronic Know Your Customer) functionality in your mobile applications. This SDK provides a seamless integration for identity verification and document scanning.
npm install react-native-kalapa-tpbank-ekyc react-native-reanimated
# or
yarn add react-native-kalapa-tpbank-ekyc react-native-reanimated
Alternatively, you can manually add the following line to your app/package.json
:
"dependencies": {
"react-native-kalapa-tpbank-ekyc": "^1.0.5",
"react-native-reanimated": "^1.9.0"
}
cd ios && pod install
Info.plist
by adding these lines:<key>LSApplicationQueriesSchemes</key>
<array>
<string>undecimus</string>
<string>sileo</string>
<string>zbra</string>
<string>filza</string>
</array>
<key>NFCReaderUsageDescription</key>
<string>This eKYC app needs NFC reader to scan chip</string>
<key>com.apple.developer.nfc.readersession.iso7816.select-identifiers</key>
<array>
<string>A0000002471001</string>
<string>A0000002472001</string>
<string>00000000000000</string>
</array>
<key>NSCameraUsageDescription</key>
<string>This eKYC app needs to use camera to scan document</string>
Near Field Communication Tag Reading
capability to your project targetimport { KalapaSDK } from 'react-native-kalapa-tpbank-ekyc';
const YourComponent = () => {
const handleComplete = (result) => {
console.log('eKYC completed:', result);
};
const handleError = (error) => {
console.error('eKYC error:', error);
};
const handleClose = () => {
console.log('eKYC closed');
};
const config = {
domain: "https://ekyc-sdk.kalapa.vn", // For production
main_color: '#A167D8',
main_text_color: "#000000",
btn_text_color: "#FFFFFF",
background_color: '#FFFFFF'
};
return (
<KalapaSDK
dopBaseURL="YOUR_DOP_BASE_URL"
accessToken="YOUR_ACCESS_TOKEN"
phoneNumber="USER_PHONE_NUMBER"
appconfig={config}
onComplete={handleComplete}
onError={handleError}
onClose={handleClose}
/>
);
};
The SDK provides comprehensive error handling through the onError
callback:
import { KalapaSDKResultCode } from 'react-native-kalapa-tpbank-ekyc';
const handleError = (error) => {
console.error("Unknown error:", KalapaSDKResultCode.getMessage(error.code));
};
The onComplete
callback receives a JSON string with the following structure:
Property | Type | Description |
---|---|---|
type | string | Type of ID card |
name | string | Full name |
id_number | string | ID number |
gender | string | Gender |
birthday | string | Birthday |
home | string | Home town |
resident | string | Resident address |
features | string | Personal features |
doi | string | Date of issued |
poi | string | Place of issued |
doe | string | Date of expiry |
qr_code | object | QR code data if present |
mrz_data | object | Machine Readable Zone data |
nfc_data | object | Data in NFC chip |
Property | Type | Description |
---|---|---|
data.decoded_text | string | Decoded QR code text |
Property | Type | Description |
---|---|---|
data.raw_mrz | string | Raw MRZ text |
Property | Type | Description |
---|---|---|
name | string | Full name from NFC |
id_number | string | ID number from NFC |
gender | string | Gender from NFC |
nation | string | Ethnicity from NFC |
date_of_birth | string | Birthday from NFC |
date_of_issuance | string | Date of issued from NFC |
date_of_expiry | string | Expired date from NFC |
hometown | string | Home town from NFC |
address | string | Resident address from NFC |
personal_identification | string | Personal features from NFC |
father_name | string | Father's name from NFC |
mother_name | string | Mother's name from NFC |
mrz | string | MRZ data from NFC |
<uses-permission android:name="android.permission.INTERNET" />
<key>NSCameraUsageDescription</key>
<string>Camera access is required for eKYC verification</string>
If you encounter build issues on iOS:
cd ios && xcodebuild clean
rm -rf Pods && pod install
If you encounter build issues on Android:
cd android && ./gradlew clean
./gradlew assembleDebug
Common issues:
For support, please contact tung@kalapa.vn
Kalapa JSC™ © 2025
FAQs
React Native SDK for Kalapa eKYC integration
The npm package react-native-kalapa-tpbank-ekyc receives a total of 0 weekly downloads. As such, react-native-kalapa-tpbank-ekyc popularity was classified as not popular.
We found that react-native-kalapa-tpbank-ekyc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.