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

Aperta
#293 11 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
180
Fork
68
Merge medio
3g 1h
PR unite (30g)
29

Descrizione

## 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.