This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const TiIdentity = require('ti.identity'); | |
//Identifier of the application. The same as development team on provisioning profile | |
const appIdentifierPrefix = 'YOUR_IDENTIFIER'; | |
//Create the Keychain Items | |
const keychainUn = TiIdentity.createKeychainItem({ | |
identifier: Alloy.CFG.kc_user_identifier, | |
accessGroup: appIdentifierPrefix + '.' + Ti.App.id | |
}); |