I’ve just upgrade from Expo SDK 43 to 46, and seems like I need to use a custom development client instead of Expo Go, because of expo-analytics-amplitude will be deprecated in SDK 45. and clearly written in expo documents that expo-analytics-amplitude will be Deprecated. So I need to use this official docs.
I use @amplitude/analytics-react-native. And It's work in my Expo Project. But... the data provided in the amplitude dashboard is incomplete and wrong Platform.
Here's the dashboard after I use @amplitude/analytics-react-native
The platform read Web not Android… And the data incomplete.
And here's when I use expo-analytics-amplitude
This is the right one, the User Properties is complete, what I need
Here's my code in Auth Middleware (before user login in my project)
Best answer by Yuanyuan ZhangView original