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

Aberta
#293 11 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
TypeScript
Estrelas
180
Forks
68
Merge médio
3d 1h
PRs com merge (30d)
29

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.