Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@taplytics/segment-react-native-plugin-taplytics

Package Overview
Dependencies
Maintainers
8
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@taplytics/segment-react-native-plugin-taplytics

Integrate Segment analytics with Taplytics as a destination for your React-Native app.

  • 0.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
8
Weekly downloads
 
Created
Source

@taplytics/segment-react-native-plugin-taplytics

DestinationPlugin for Taplytics. Wraps taplytics-react-native.

Installation

Install Segment React Native

Install the @segment/analytics-react-native dependency.

yarn add @segment/analytics-react-native @segment/sovran-react-native @react-native-async-storage/async-storage 
# or
npm install --save @segment/analytics-react-native @segment/sovran-react-native @react-native-async-storage/async-storage

Install the Taplytics React Native plugin

Install the @taplytics/segment-react-native-plugin-taplytics and the taplytics-react-native dependency.

Using NPM:

npm install --save @taplytics/segment-react-native-plugin-taplytics taplytics-react-native

Using Yarn:

yarn add @taplytics/segment-react-native-plugin-taplytics taplytics-react-native

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

Setup Taplytics

Follow the instructions to setup Taplytics for iOS and Android

See taplytics-react-native for more details of this dependency. See @segment/analytics-react-native for more details on how to add Segment analytics to your React Native app.

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 a TaplyticsPlugin instance.

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

import { TaplyticsPlugin } from '@taplytics/segment-react-native-plugin-taplytics';

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

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

Keywords

FAQs

Package last updated on 04 Jul 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc