{"id":21512617,"url":"https://github.com/mattccc/nativescript-jumio","last_synced_at":"2025-04-09T18:35:09.820Z","repository":{"id":40495062,"uuid":"327965623","full_name":"MattCCC/nativescript-jumio","owner":"MattCCC","description":"Jumio Mobile SDK plugin for NativeScript.","archived":false,"fork":false,"pushed_at":"2023-01-08T17:16:13.000Z","size":4583,"stargazers_count":2,"open_issues_count":9,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-28T05:15:03.685Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MattCCC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":"mattccc","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-01-08T17:11:56.000Z","updated_at":"2023-01-31T18:40:52.000Z","dependencies_parsed_at":"2023-02-08T06:46:08.802Z","dependency_job_id":null,"html_url":"https://github.com/MattCCC/nativescript-jumio","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattCCC%2Fnativescript-jumio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattCCC%2Fnativescript-jumio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattCCC%2Fnativescript-jumio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattCCC%2Fnativescript-jumio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MattCCC","download_url":"https://codeload.github.com/MattCCC/nativescript-jumio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248088389,"owners_count":21045704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-23T22:41:20.474Z","updated_at":"2025-04-09T18:35:09.798Z","avatar_url":"https://github.com/MattCCC.png","language":"TypeScript","funding_links":["https://patreon.com/mattccc"],"categories":[],"sub_categories":[],"readme":"# NativeScript Jumio\n\n[nativescript-jumio](https://github.com/mattCCC/nativescript-jumio)\n\nJumio Mobile SDK plugin for NativeScript.\n\nThis 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.\n\nCurrently only ID verification is implemented. Please check [Usage](#usage) or demo/ directory for more details.\n\n## Prerequisites / Requirements\n\nNativescript 7.1+ is required for the plugin to run properly.\n\n## Installation\n\n```javascript\ntns plugin add nativescript-jumio\n\nor\n\nnpm install nativescript-jumio\n```\n\n## Usage\n\n[nativescript-jumio](https://www.npmjs.com/package/nativescript-jumio)\n\nMake sure to include this activity inside the consumer's Android Manifest:\n\n```\n\u003cactivity\n    android:theme=\"@style/Theme.Netverify\"\n    android:hardwareAccelerated=\"true\"\n    android:name=\"com.jumio.nv.NetverifyActivity\"\n    android:configChanges=\"orientation|screenSize|screenLayout|keyboardHidden\" /\u003e\n```\n\n\nEnsure that Kotlin version is set to 1.4.30 inside gradle.properties file\n\nkotlinVersion=1.4.30\n\n```javascript\nimport { Jumio } from 'nativescript-jumio';\n\ntry {\n    const jumio = new Jumio({\n        merchantApiToken: 'YOUR_API_TOKEN',\n        merchantApiSecret: 'YOUR_API_SECRET',\n        datacenter: 'EU | US | SG',\n    });\n\n    jumio.init({\n        customerId: 'customerId',\n        callbackUrl: 'Custom callback URL',\n        preSelectedData: {\n            country: 'Alpha2 Country Code',\n            documentType: 'passport | identity_card | driver_license | visa',\n        },\n        cancelWithError: (error) =\u003e {\n            // User cancelled after error\n        },\n        finishInitWithError: (error) =\u003e {\n            // Finished initialization with an error\n        },\n        finishedScan: (documentData, scanReference) =\u003e {\n            // Scan is successful\n        },\n    });\n} catch (err) {\n    console.log(\"EXCEPTION\", err)\n}\n\n```\n## API\n\n| Property | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| merchantApiToken | string | yes |  | API token |\n| merchantApiSecret | string | yes |  | API secret |\n| datacenter | string | yes | | Data Center to use\n| customerId | string | yes | | Customer ID\n| callbackUrl | string | No | | Custom Callback URL\n| preSelectedData | Object | No | null | Pre-selected country as alpha2 code and document type\n| cancelWithError | funct |  |  | Callback triggered when User cancels. It accepts error object with code and message. |\n| finishInitWithError | funct |  |  | Callback triggered when initialization fails. It accepts error object with code and message. |\n| finishedScan | funct |  |  | Callback triggered when scan is finished. It contains an extended Document Data with all necessary information about processing results. |\n\n## License\n\nApache License Version 2.0, January 2004\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattccc%2Fnativescript-jumio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattccc%2Fnativescript-jumio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattccc%2Fnativescript-jumio/lists"}