
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
customerio-reactnative
Advanced tools
Official Customer.io SDK using React Native. Track customers and send messages to your iOS/Android apps.
The official Customer.io SDK for React Native enables you to integrate mobile messaging features—like in-app messaging and push notifications—into your app. These features can be triggered by events sent through the SDK and configured using your Customer.io campaigns.
📖 Full documentation: customer.io/docs/sdk/react-native
🧪 Example apps: see the/example
directory
npm install customerio-reactnative
Here’s a simplified example showing how to initialize the SDK to enable most mobile features:
import {
CustomerIO,
CioConfig,
CioLogLevel,
CioRegion,
} from 'customerio-reactnative';
useEffect(() => {
const config: CioConfig = {
cdpApiKey: 'your-cdp-api-key', // Required
migrationSiteId: 'your-site-id', // Optional, for migrating from older SDKs
region: CioRegion.US, // Or CioRegion.EU
logLevel: CioLogLevel.debug,
trackApplicationLifecycleEvents: true,
inApp: {
siteId: 'your-site-id', // Required for in-app messaging
},
push: {
android: {
pushClickBehavior: 'ActivityPreventRestart', // Optional
},
},
};
CustomerIO.initialize(config);
}, []);
🔑 For help finding your credentials, check out the Quick Start Guide.
This SDK supports rich push notifications using Firebase (for Android) and either Firebase or APNs (for iOS). Follow our push setup guide to configure your project for push.
Customer.io helps you personalize your mobile experience:
We welcome contributions! To get started:
FAQs
Official Customer.io SDK using React Native. Track customers and send messages to your iOS/Android apps.
The npm package customerio-reactnative receives a total of 15,851 weekly downloads. As such, customerio-reactnative popularity was classified as popular.
We found that customerio-reactnative demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.