ishani modi
Posts: 0
Joined: Wed Oct 23, 2013 4:49 am

Not getting device name and getting different uuid on every instance in iPhone ios

Hi,

I followed this tutorial http://docs.phonegap.com/en/1.0.0/pho...

I am getting device name as undefined, though I have given the name of the device,
uuid of device comes different on every instance

Thanks,
Ishani

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Not getting device name and getting different uuid on every instance in iPhone ios

Hi Ishani,

This method is deprecated. Check this solution please:
http://stackoverflow.com/questions/14...

ishani modi
Posts: 0
Joined: Wed Oct 23, 2013 4:49 am

Not getting device name and getting different uuid on every instance in iPhone ios

Hi,

Please can you help for how to get the UDID of my iPhone (Device).?

Thanks in advance.
Ishani

ishani modi
Posts: 0
Joined: Wed Oct 23, 2013 4:49 am

Not getting device name and getting different uuid on every instance in iPhone ios

Hi Katya,

Thanks for the link, but I don't need device Id(UDID) for PushNotification, but want to perform some action after I get device Id(UDID)

I want the value of uniqueDeviceIdentifier as shown in the screenshot below
Image

Please help..!!

Thanks in advance,
Ishani

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Not getting device name and getting different uuid on every instance in iPhone ios

Hello!

If you have some native code, you can use it to create PhoneGap plugin and use in app http://cordova.apache.org/docs/en/3.3...

ishani modi
Posts: 0
Joined: Wed Oct 23, 2013 4:49 am

Not getting device name and getting different uuid on every instance in iPhone ios

Hello

I have edited the code in the below screenshot and I am getting udid while debugging in xcode

Image

I have also added code#import "UIDevice+IdentifierAddition.h"/code with the help of which I am getting uniqueDeviceIdentifier, but I want this udid in html in alert.
I have written codealert(device.udid)/code to get in html, Is it correct ?
Thanks,
Ishani

ishani modi
Posts: 0
Joined: Wed Oct 23, 2013 4:49 am

Not getting device name and getting different uuid on every instance in iPhone ios

Hello
I have solved this. I got device UDID by changing in device.js file also
I am mentioning in the screenshot below
Image

Thanks,
Ishani

Return to “Issues”