Back to All

Apple Keychain

Im trying to use Apple Keychain to save login information.

Here is my code:

function gonative_library_ready(){
var username = username;
var password = password;
gonative.screen.setBrightness(0.8); //this works
gonative.storage.cloud.set({key: 'username',value: username});
gonative.storage.cloud.set({key: 'password',value: password});
}

Am I missing anything? because its not working.

I also enabled AutoFill Credential Provider and Associated domains on Xcode.