Open Sobiru opened 8 years ago
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" />
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.
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
+1
+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)
This is working for some devices but not for others, inconsistency makes it unusable unfortunately
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?