Socket
Socket
Sign inDemoInstall

@appcues/segment-react-native

Package Overview
Dependencies
0
Maintainers
36
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @appcues/segment-react-native

Segment destination plugin for Appcues.


Version published
Weekly downloads
849
decreased by-37.67%
Maintainers
36
Created
Weekly downloads
 

Readme

Source

@appcues/segment-react-native

DestinationPlugin for Appcues. Wraps @appcues/react-native.

Installation

You need to install the @appcues/segment-react-native and the @appcues/react-native dependency.

Using NPM:

npm install --save @appcues/segment-react-native @appcues/react-native

Using Yarn:

yarn add @appcues/segment-react-native @appcues/react-native

Run pod install after the installation to autolink the Appcues SDK.

See Appcues React Native Module for more details of this dependency.

Usage

Follow the instructions for adding plugins on the main Analytics client:

In your code where you initialize the analytics client call the .add(plugin) method with an AppcuesPlugin instance:

import { createClient } from '@segment/analytics-react-native';

import { AppcuesPlugin } from '@appcues/segment-react-native';

const segmentClient = createClient({
  writeKey: 'SEGMENT_KEY'
});

segmentClient.add({ plugin: new AppcuesPlugin() });

Supporting Builder Preview and Screen Capture

During installation, follow the steps outlined in in the Appcues React Native Module documentation for Configuring the Appcues URL Scheme. This is necessary for the complete Appcues builder experience, supporting experience preview, screen capture and debugging.

Support

Please use Github issues, Pull Requests, or feel free to reach out to our support team.

Keywords

FAQs

Last updated on 12 Feb 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc