@itly/plugin-segment-react-native
TypeScript icon, indicating that this package has built-in type declarations

2.4.0 • Public • Published

Segment React Native Plugin for Iteratively SDK

Iteratively SDK

Installation

Segment library

yarn add @segment/analytics-react-native

Segment Iteratively plugin

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

Initialization

import SegmentPlugin from '@itly/plugin-segment-react-native';
itly.load({
  ...
  plugins: [
    ...
    new SegmentPlugin('my-write-key'),
  ],
  ...
});

Linking

If you are using an older version of React Native that doesn't support auto-linking you may need to follow additional setup steps.

Read full setup instructions for Segment SDK for more information.

Package Sidebar

Install

npm i @itly/plugin-segment-react-native

Weekly Downloads

0

Version

2.4.0

License

MIT

Unpacked Size

28 kB

Total Files

8

Last publish

Collaborators

  • amplidoug
  • sschultz-ampl
  • hrebicek
  • iteratively-justin
  • akramarev-itly