Socket
Book a DemoInstallSign in
Socket

@joinflux/capacitor-segment

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@joinflux/capacitor-segment

A Capacitor plugin for Segment analytics

2.1.0
latest
Source
npmnpm
Version published
Maintainers
2
Created
Source
capacitor-segment logo

capacitor-segment

A Capacitor plugin for Segment analytics

Install

npm install @joinflux/capacitor-segment

# yarn
yarn add @joinflux/capacitor-segment

# pnpm
pnpm add @joinflux/capacitor-segment

and

npx cap sync

Versioning

  • Version 0.1.3 will target the latest Capacitor version
    • Capacitor 3 is recommended for this version
  • Version 1.x.x will target Capacitor 4
  • Version 2.x.x will target Capacitor 5

API

  • initialize(...)
  • identify(...)
  • track(...)
  • page(...)
  • reset()

initialize(...)

initialize(options: InitializeOptions) => any
ParamType
options{ key: string; trackLifecycle?: boolean; recordScreenViews?: boolean; }

Returns: any

identify(...)

identify(options: IdentifyOptions) => any
ParamType
optionsIdentity & { traits?: any; options?: any; }

Returns: any

track(...)

track(options: TrackOptions) => any
ParamType
options{ eventName: string; properties: any; }

Returns: any

page(...)

page(options: PageOptions) => any
ParamType
options{ pathname: string; }

Returns: any

reset()

reset() => any

Returns: any

License

MIT License

Keywords

capacitor

FAQs

Package last updated on 25 Sep 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.