Add web support

Open
#455 2 comments 17 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
react-native, typescript
Domain
frontend, web-dev

Research direction

Start by reviewing the package's current React Native entry point and the React/React-Native routing proposed in the issue, alongside React Native's Platform-specific code guidance. Define the web entry path and verify that analytics works on web and existing native platforms without separate package setup.

Written by the indexing model from the issue text.

Description

enhancement

Summary

There is a need for people using react-native-web to also cover web platform with a single lib.
In the expo world we used to rely on expo-analytics-segment (see instructions here) but as you guys develop this package it seems web support wont ever come on their side and package will be deprecated at some point. See here

Proposed Solution

Based on Platform, route to either the React or React-Native version ?

Dominant language
TypeScript
Stars
383
Forks
206
Avg merge
14h 45m
Merged PRs (30d)
11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from segmentio/analytics-react-native

All issues in segmentio/analytics-react-native

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.