npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

com-idnow-plugin

v1.0.5

Published

IdNow cordova plugin that exposes the idnow sdk

Downloads

26

Readme

Cordova IdNow plugin

  • startIdNowSdk method: initialises the id now sdk by sending the transaction token to the native component and starting the idnow service - passes a string value
  • setCompanyId method: sets the company id to be pass when the sdk is initialized - passes a string value
  • setShowVideoOverviewCheck method: sets if wheter the initial check overview screen should appear in the video ident flow - passes a boolean value
  • setAppGoogleRating method: sets if wheter the app google rating screen will be visible at the end of the indet flow(only for android) - passe a boolean value
  • setShowErrorSuccessScreen method: sets if wheter the completion error or success screnn is shwon at the end of the ident flow
  • setIdNowLanguage method: sets the sdk language
  • presentModaly method: sets if the native view controller is presented modally (ios)
  • isTestEnvironment method: switches between test and live environments

iOS apperance

  • setDefaultTextColor Optional color, that replaces the default text color. Default: A nearly black color Recommendation: Should be some kind of a dark color that does not collide with white color.
  • setPrimaryBrandColor: method: Optional color, that replaces the default brand color. Default: defaultTextColor Used in headlines, checkboxes, links, alerts etc. Recommendation: Should be a color that does not collide with white color.
  • setProceedButtonBackgroundColor: method: Optional color, that replaces the proceed button background color. Default: An orange color
  • setProceedButtonTextColor method: Optional color, that replaces the proceed button text color. Default value: White color
  • setPhotoIdentRetakeButtonBackgroundColor method: Optional color, that replaces the photo ident retake button background color. Default value: defaultTextColor
  • setPhotoIdentRetakeButtonTextColor method: Optional color, that replaces the photo ident retake button text color. Default value: proceedButtonTextColor
  • setTextFieldColor method: Optional color, that replaces the default color of textfield backgrounds and borders Default: defaultTextColor
  • setFailureColor method: Optional color, that replaces the text color in the result screen, when an identification failed. Default: A red color
  • setSuccessColor method: Optional color, that replaces the text color in the result screen, when an identification was successful. Default: A green color
  • setCqcOuterRingColor method: Optional color that replaces default dark gray for the outer ring indicator on the quality check screen. Default: dark gray
  • setCqcDefaultInnerRingColor method: Optional color that replaces default light gray for the inner ring indicator on the quality check screen. Default: light gray
  • setCqcPoorQualityInnerColor method: Optional color that replaces default bright red for the inner ring indicator in case bad network quality on the quality check screen. Default: bright red
  • setCqcModerateQualityInnerColor method:Optional color that replaces default bright orange for the inner ring indicator in case moderate network quality on the quality check screen. Default: bright orange
  • setCqcExcellentQualityInnerColor method: Optional color that replaces default strong yellow for the inner ring indicator in case excellent network quality on the quality check screen. Default: strong yellow (almost green).
  • setFontNameRegular method: An optional font name that can be used to replace the regular font used by the SDK. Default: System Font: Helvetica Neue Regular (< iOS 9), San Francisco Regular (>= iOS 9)
  • setFontNameMedium method: An optional font name that can be used to replace the medium font used by the SDK. Default: System Font: Helvetica Neue Medium (< iOS 9), San Francisco Medium (>= iOS 9)
  • setFontNameLight method: An optional font name that can be used to replace the light font used by the SDK. Default: System Font: Helvetica Neue Light (< iOS 9), San Francisco Light (>= iOS 9)
  • enableStatusBarStyleLightContent method: Optional: Forces the light status bar style to match dark navigation bars. If you tint your navigation bar with a dark color by adjusting navigation bar appearance (e.g. a blue color) you can set this value to true. The statusbar style will then be adjusted to light in screens where the navigation bar is visible.

android apperance

Create colors xml and modify the desired colors

example of xml colors in cordova project:

<!-- Used by theme as default color for display and editable texts -->
<color name="text_default">#4A4A4A</color>

<!-- Primary color is used for headlines and links -->
<color name="primary">#F95602</color>

<!-- background color for confirmation/continue button, which is usually placed at the bottom of a screen -->
<color name="proceed_button_background">@color/primary</color>

<!-- "Wiederholen" button when a photo was taken in photo ident -->
<color name="photo_ident_retake_button_background">@color/text_default</color>

<!-- Colors of the result screen -->
<color name="success">#A4AC49</color>
<color name="failure">#E0727A</color>