DavidWells / DavidWells/analytics
react native support
Open
Nobody has claimed this yet.
help wanted
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 267
- PR merge metrics
- No merged PRs in 30d
Description
Currently if you run this in a react native project you get the following error:
TypeError: undefined is not an object (evaluating 'os.indexOf')
I'm guessing that the check to see if this is running in a browser is passing even though react native should probably be treated like a "server" like environment.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the error in a React Native project and trace the browser-environment check implicated by the os.indexOf failure. Confirm how React Native is identified and verify that running the analytics package there no longer produces this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100