@velocitycareerlabs/vcl-react-native
TypeScript icon, indicating that this package has built-in type declarations

2.3.4 • Public • Published

@velocitycareerlabs/vcl-react-native

Velocity Career Labs React Native SDK

Android:

kotlin version: 1.7.21

minSdkVersion 24

targetSdkVersion 33

iOS:

swift version: 5

deployment target: 13

React Native:

react version 18.2.0

react native version 0.72.4

React Native SDK

The React Native SDK is a wrapper of iOS and Android SDKs. The minimum supported Android API is 21. The iOS target deployment API is 12.0.

Installation

  • Add the path to the Velocity specs to the head of the Pod file in the iOS folder source 'https://github.com/velocitycareerlabs/Specs.git'
  • SDK installation:
yarn add @velocitycareerlabs/vcl-react-native --save

or

npm install @velocitycareerlabs/vcl-react-native --save

Usage

To start using the VCL SDK, you’ll need to create its object and initialize it in Velocity Network™:

import vcl from '@velocitycareerlabs/vcl-react-native';
const initializationDescriptor: VCLInitializationDescriptor = {
  environment: environment,
};
vcl.initialize(initializationDescriptor).then(
  () => {
    // Do your magic
  },
  (err: VCLError) => {
    // Handle initialization failure 
  }
);

Package Sidebar

Install

npm i @velocitycareerlabs/vcl-react-native

Weekly Downloads

14

Version

2.3.4

License

MIT

Unpacked Size

342 kB

Total Files

463

Last publish

Collaborators

  • velocitycareerlabs