Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
nativescript-jumio
Advanced tools
Readme
Jumio Mobile SDK plugin for NativeScript.
This plugin is compatible only with NativeScript 7.1+. Please file an issue or make a PR if you spot any problems or you have any further requests regarding the functionality.
Currently only ID verification is implemented. Please check Usage or demo/ directory for more details.
Nativescript 7.1+ is required for the plugin to run properly.
tns plugin add nativescript-jumio
or
npm install nativescript-jumio
Make sure to include this activity inside the consumer's Android Manifest:
<activity
android:theme="@style/Theme.Netverify"
android:hardwareAccelerated="true"
android:name="com.jumio.nv.NetverifyActivity"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden" />
Ensure that Kotlin version is set to 1.4.30 inside gradle.properties file
kotlinVersion=1.4.30
import { Jumio } from 'nativescript-jumio';
try {
const jumio = new Jumio({
merchantApiToken: 'YOUR_API_TOKEN',
merchantApiSecret: 'YOUR_API_SECRET',
datacenter: 'EU | US | SG',
});
jumio.init({
customerId: 'customerId',
callbackUrl: 'Custom callback URL',
preSelectedData: {
country: 'Alpha2 Country Code',
documentType: 'passport | identity_card | driver_license | visa',
},
cancelWithError: (error) => {
// User cancelled after error
},
finishInitWithError: (error) => {
// Finished initialization with an error
},
finishedScan: (documentData, scanReference) => {
// Scan is successful
},
});
} catch (err) {
console.log("EXCEPTION", err)
}
Property | Type | Required | Default | Description |
---|---|---|---|---|
merchantApiToken | string | yes | API token | |
merchantApiSecret | string | yes | API secret | |
datacenter | string | yes | Data Center to use | |
customerId | string | yes | Customer ID | |
callbackUrl | string | No | Custom Callback URL | |
preSelectedData | Object | No | null | Pre-selected country as alpha2 code and document type |
cancelWithError | funct | Callback triggered when User cancels. It accepts error object with code and message. | ||
finishInitWithError | funct | Callback triggered when initialization fails. It accepts error object with code and message. | ||
finishedScan | funct | Callback triggered when scan is finished. It contains an extended Document Data with all necessary information about processing results. |
Apache License Version 2.0, January 2004
FAQs
NativeScript Jumio.
The npm package nativescript-jumio receives a total of 1 weekly downloads. As such, nativescript-jumio popularity was classified as not popular.
We found that nativescript-jumio demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.