cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Kursawe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-9857) Bring back device.name for the devices name
Date Fri, 17 Jun 2016 08:37:05 GMT

     [ https://issues.apache.org/jira/browse/CB-9857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Philipp Kursawe updated CB-9857:
--------------------------------
    Description: 
The value is currently deprecated but it could have been so useful.
When a device is used to generate an access token you generally want to see which device that
was on the side of the API key provider and as well as in the users dashboard so she can see
which devices are associated with a certain app.
At the moment we can use `device.uuid` but it would much more useful to have something like
`Joe's SurfacePro` or `James' MacBook`.

For Windows (RT) its actually pretty easy to find out the devices name, its a sync call even.
I have seen code for Android and iOS floating around the web also.

Would that be worth considering and useful for others?

There is already an implementation that works well for Android and iOS at
https://github.com/becvert/cordova-plugin-device-name

  was:
The value is currently deprecated but it could have been so useful.
When a device is used to generate an access token you generally want to see which device that
was on the side of the API key provider and as well as in the users dashboard so she can see
which devices are associated with a certain app.
At the moment we can use `device.uuid` but it would much more useful to have something like
`Joe's SurfacePro` or `James' MacBook`.

For Windows (RT) its actually pretty easy to find out the devices name, its a sync call even.
I have seen code for Android and iOS floating around the web also.

Would that be worth considering and useful for others?


> Bring back device.name for the devices name
> -------------------------------------------
>
>                 Key: CB-9857
>                 URL: https://issues.apache.org/jira/browse/CB-9857
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin Device
>            Reporter: Philipp Kursawe
>            Priority: Minor
>              Labels: android, ios, windows,
>
> The value is currently deprecated but it could have been so useful.
> When a device is used to generate an access token you generally want to see which device
that was on the side of the API key provider and as well as in the users dashboard so she
can see which devices are associated with a certain app.
> At the moment we can use `device.uuid` but it would much more useful to have something
like `Joe's SurfacePro` or `James' MacBook`.
> For Windows (RT) its actually pretty easy to find out the devices name, its a sync call
even. I have seen code for Android and iOS floating around the web also.
> Would that be worth considering and useful for others?
> There is already an implementation that works well for Android and iOS at
> https://github.com/becvert/cordova-plugin-device-name



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message