Skip to content

Clearing All data do a conflict with nativescrip-ios-uuid ! #31

@kefahB

Description

@kefahB

Hi @EddyVerbruggen,

I remarque since a few days that the uuid on ios change for each install ! do you think this happen because the plugin clear all data about app ?

here is the source code of nativescript-ios-uuid :

function getUUID() {
    var appName = NSBundle.mainBundle.infoDictionary.objectForKey(kCFBundleNameKey);
    var strApplicationUUID = SSKeychain.passwordForServiceAccount(appName, "incoding");
    if (!strApplicationUUID){
        strApplicationUUID = UIDevice.currentDevice.identifierForVendor.UUIDString;
        SSKeychain.setPasswordForServiceAccount(strApplicationUUID, appName, "incoding");
    }

    return strApplicationUUID;
}
exports.getUUID = getUUID;


``
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions