React Native SDK

Credolab React Native SDK is a set of libraries designed to capture a client’s digital footprint from mobile devices for future processing of scorecards and fragments.

Pick The Right Modules

The Credolab React Native SDK is modular by design. At its foundation is a single mandatory Core module, which operates without accessing any runtime permissions. All additional features are provided through optional modules and plugins, each requesting only the specific permissions they require. This approach allows you to begin integration with just the modules that align with your app's existing permission set, keeping the implementation flexible, secure, and fully permission-scoped.

React Native SDK Module Scheme


👍

What is a ?

Provide access to features that don’t affect user privacy or security.
For example, using the internet or checking Wi-Fi state.

These are granted automatically when the app is installed.
No user confirmation is needed.

Read more on developer.android.com

📘

What is a ?

Allows access to protected resources or actions, such as contacts, calendar, or media.
These permissions must be explicitly granted by the user at runtime.

Read more on developer.android.com and developer.apple.com

Versions

Mandatory module version

Core Module

Artifact IDVersion

@credolab/react-core normal permissions

5.13.0

Expo Core Module - for Expo managed project

Artifact IDVersion

@credolab/expo-react-core normal permissions

5.12.0

📘

Starting from version 5.4.0, the Core plugin includes functionality for collecting application metadata. Additionally, beginning with this version, the plugin automatically adds the <queries> section with the intent action android.intent.action.MAIN to the application's Manifest file

Android optional module versions

Artifact IDVersion

@credolab/react-android-account runtime permissions

5.1.0

@credolab/react-android-calendar runtime permissions

5.1.0

@credolab/react-android-contact runtime permissions

5.3.0

@credolab/react-android-iovation normal permissions

5.2.0

@credolab/react-android-audio runtime permissions

5.1.0

@credolab/react-android-images runtime permissions

5.2.0

@credolab/react-android-video runtime permissions

5.2.0

@credolab/react-android-sms runtime permissions

5.1.0

@credolab/react-android-telephony runtime permissions

5.0.0

@credolab/react-android-application normal permissions


Please note that if the Core plugin (react-core) version 5.4.0 or higher is used, there is no need to include the Application plugin (react-android-application)

5.1.0

iOS optional module versions

Artifact IDVersion

@credolab/react-ios-calendar-events runtime permissions

5.3.0

@credolab/react-ios-calendar-reminders runtime permissions

5.3.0

@credolab/react-ios-contact runtime permissions

5.4.0

@credolab/react-ios-iovation no permissions required

5.3.0

@credolab/react-ios-media runtime permissions

5.2.0

@credolab/react-ios-music runtime permissions

5.3.0

@credolab/react-ios-application no permissions required

5.3.0

Behavioral optional module

Artifact IDVersion

@credolab/react-behavioral normal permissions

5.6.0

@credolab/react-android-behavioral-phone runtime permissions

5.0.0

SDK Description

Our developed modules are categorized based on runtime permissions. To determine which permissions are associated with each module, please refer to theAndroid or iOS SDK documentation.

Mandatory Core Module

Built on top of native Core Android and iOS modules

Optional Behavioral Module

Built on top of native Behavioral modules for Android and iOS modules

CredoAppLogging is not available for React Native.

Mobile Data Flow

  1. Mobile Client triggers the Core Module to start data collection
  2. The Core Module collects data from attached modules and returns an encrypted dataset
  3. Mobile Client sends the dataset to Credolab via a Reverse Proxy with a unique reference number
  4. Client's Server requests scores and insights from Credolab using that reference number