Meteor-Community-Packages / meteor-user-status

Track user connection state and inactivity in Meteor.
MIT License
559 stars 85 forks source link

Feature Request: User device detection / Meteor.isCordova check #73

Open fabyeah opened 8 years ago

fabyeah commented 8 years ago

Thanks @mizzao for this awesome package!

It would be great if there was a field under status and lastLogin for the device the user is/was using. Basically I would like to know if they are using the app or the web version (in the latter case, one could differentiate more, between different devices).

mizzao commented 8 years ago

Are you talking about the userAgent field? Or you actually want to know if they are logging in from Cordova or regular browser?

fabyeah commented 8 years ago

I want to know whether they're logging in from Cordova or regular browser. AFAIK using the user agent string for device detection isn't always reliable?

mizzao commented 8 years ago

I don't use Cordova regularly right now and can't really help with this, but would be happy to review a PR.