Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not getting an UUID in iOS #15

Open
Sobiru opened this issue Sep 13, 2015 · 6 comments
Open

Not getting an UUID in iOS #15

Sobiru opened this issue Sep 13, 2015 · 6 comments

Comments

@Sobiru
Copy link

Sobiru commented Sep 13, 2015

I'm not getting UUID inside iOS. The success callback function does get called but the parameter uuid is empty.

I might add It works well on Android.

Is there something i am doing wrong?

@bau720123
Copy link

hi @Sobiru
what iOS version are you using ?
you use cordova or phonegap or PGB (build.phonegap.com) ?
if you are using PGB,try to use this in your config.xml

<gap:plugin name="hu.dpal.phonegap.plugins.uniquedeviceid" source="pgb" version="1.2.0" />

@Sobiru
Copy link
Author

Sobiru commented Sep 14, 2015

Hi @bau720123 , thank you for the response.
I'm developing through ionic framework and the device I tested the plugin with had iOS version 7.1.
I added the plugin through CLI ionic plugin add https://github.com/Paldom/UniqueDeviceID.git and it installs the plugin for my iOS platform. I tried debugging the plugin through xCode, the line NSString *uuid = [UICKeyChainStore stringForKey:@"uuid"] outputs an empty "" even on the first use.

@bau720123
Copy link

hi @Sobiru
the ios system is a "emulated" environment or true device ?
if "emulated",try use true device

I have never add this plugin from ionic method,only in phonegap or cordova

@kostia-official
Copy link

+1

@h3nr1ke
Copy link

h3nr1ke commented May 11, 2016

+1
working in an perfect way on Android, but getting an error trying when I call
window.plugins.uniqueDeviceID.get

testing on cordova (using Oracle MAF tools)

@beck24
Copy link

beck24 commented Sep 11, 2017

This is working for some devices but not for others, inconsistency makes it unusable unfortunately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants