Angela Temple Rogers
Posts: 0
Joined: Thu Sep 19, 2013 4:27 am

How can I get the id of the device running the app?

I want to send to my database via a REST API the id of the device that the app is running on. Is this possible?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

How can I get the id of the device running the app?

Hello Angela,

Yes, it is possible. Please use device.uuid for that: https://cordova.apache.org/docs/en/2....

Angela Temple Rogers
Posts: 0
Joined: Thu Sep 19, 2013 4:27 am

How can I get the id of the device running the app?

I get an error saying device is undefined. I tried changing to the latest version of all the built-in resources (Cordova 4.0) but still no luck. Any suggestions?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

How can I get the id of the device running the app?

It works only on the real device, but doesn't work on the browser test and on app tester.

Return to “Issues”