amplitude / amplitude/Amplitude-TypeScript

[Migrating from expo-analytics-amplitude to @amplitude/analytics-react-native] Amplitude is no Longer Tracking Phone Properties Like Platform, Model, and OS

Open
#293 11 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
180
Forks
68
Avg merge
3d 1h
Merged PRs (30d)
29

Description

## Expected Behavior
Amplitude should be tracking Device Type, OS, and Platform. Like in the example below.
![image](https://user-images.githubusercontent.com/43552938/206595577-8938aaf2-7ee7-4d1e-bc22-b7bf8e5a039d.png)

## Current Behavior
After migrating to this new library, I'm seeing events defaulting the Platform to "Web", which was automatically tracked before (expo-analytics-amplitude who was a wrapper of Amplitude-Android and Amplitude-iOS).
![Screenshot_4](https://user-images.githubusercontent.com/43552938/206596269-21627f7c-6787-45b6-81ef-59216f0f5e55.png)

## Steps to Reproduce
1. Build app using expo SDK 46
2. Check Amplitude Events
3. Platform is always set to Web

## Environment
- JS SDK Version: @amplitude/analytics-react-native v0.7.0
- Installation Method: NPM
- Browser and Version: React Native Expo SDK 46

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.