You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting isMobile = false in the case of react native app from the express-useragent npm module. Although it is working in the case of Native script app.
Attaching the response from both the apps: React Native app response:
The text was updated successfully, but these errors were encountered:
ishdutt
changed the title
Express-useragent returning isMobile = false for React Native app
Package returning isMobile = false for React Native app
Oct 23, 2021
I'm getting
isMobile = false
in the case of react native app from the express-useragent npm module. Although it is working in the case of Native script app.Attaching the response from both the apps: React Native app response:
Also the response from Native script app:
The code which I've used is the same as mentioned in your docs:
My main motive is to get the device from which the request is made and I've used this logic for that:
The text was updated successfully, but these errors were encountered: