Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
react-native-idnow
Advanced tools
React Native IDnow binding for iOS/Android platforms.
Using npm:
npm install --save react-native-idnow
or using yarn:
yarn add react-native-idnow
⚠️ Only follow this step if you are using react-native <= 0.59 as react-native >= 0.60 is using auto-linking.
react-native link react-native-idnow
Libraries
➜ Add Files to [your project's name]
node_modules
➜ react-native-idnow
and add RNIdnow.xcodeproj
libRNIdnow.a
to your project's Build Phases
➜ Link Binary With Libraries
Cmd+R
)
android/app/src/main/java/[...]/MainActivity.java
import com.bitwala.idnow.RNIdnowPackage;
to the imports at the top of the filenew RNIdnowPackage()
to the list returned by the getPackages()
methodandroid/settings.gradle
:
include ':react-native-idnow'
project(':react-native-idnow').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-idnow/android')
android/app/build.gradle
:
compile project(':react-native-idnow')
also in dependencies
implementation 'de.idnow.android.sdk:idnow-platform:4.12.0'
repositories
in android/build.gradle
:
maven {
url "https://raw.githubusercontent.com/idnow/de.idnow.android.sdk/master"
}
maven {
url "https://raw.githubusercontent.com/idnow/de.idnow.android/de.idnow.android-5.0.12.1"
}
Update android/app/src/AndroidManifest.xml
:
add xmlns:tools="http://schemas.android.com/tools"
to the manifest
tag
add tools:replace="android:icon,android:theme,android:allowBackup"
to the application
tag
See IDnow AndroidManifest section
(not required) To change colors, update colors.xml
(see /demo/ReactNativeIDnowSample/android/app/src/main/res/values/colors.xml
)
use_frameworks! :linkage => :static
pod 'IDnowSDK', '5.0.12'
pod install --repo-update
or
pod install
<key>NSCameraUsageDescription</key>
<string>Need camera access for video streaming and identification</string>
<key>NSMicrophoneUsageDescription</key>
<string>Need microphone access for video identification</string>
RNIdnow.h
and RNIdnow.m
files to the ios project(see demo app)import { IDnowManager } from 'react-native-idnow';
try {
await IDnowManager.startVideoIdent({
transactionToken: 'TST-XXXXX',
});
} catch (e) {
...
}
FAQs
React Native IDnow binding for iOS/Android platforms.
The npm package react-native-idnow receives a total of 15 weekly downloads. As such, react-native-idnow popularity was classified as not popular.
We found that react-native-idnow demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.