Skip to content

NATIVE_WRITE_FAILED Error on Windows 10 #73

Open
@davidofwatkins

Description

@davidofwatkins

On Windows 10 (Surface Pro), I'm getting a NATIVE_WRITE_FAILED error from the following code:

NativeStorage.setItem('foo', 'bar', function() {
    console.log('success');
},
function(err) {
    console.log('error', err); // err = { code: 1, exception: null, source: "Native" }
});

In the "Output" tab of Visual Studio, I see the following when I run this:

The maximum number of credentials that may be stored has been exceeded
WinRT information: The maximum number of credentials that may be stored has been exceeded

I don't have much experience developing for Windows, but I see that NativeStorage is saving to Windows.Security.Credentials.PasswordVault() on Windows (see #38), which seems too limited to me. Is this expected? Perhaps the plugin should use something like Windows.Storage.ApplicationData?

Does anyone have any further ideas how to fix this? (cc @3h3c)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions