Skip to content

account.signOut while offline #161

Open
@amallo

Description

@amallo

Hi,

First of all I don't know if considered as an issue, you should tell me.

I am working on an offline electron's app and Hoodie seems to be great for that but

account.signOut
seems to be rejected with this error

{"status":0,"name":"unknown","message":"getCheckpoint rejected with "} while offline,

that sounds wierd to have to be connected to sign out, I am missing something ?

account.signOut works great when server is up

Here is me logout method ignoreLocalChanges param changes nothing

logout: () => {
    return hoodie.account.signOut({ignoreLocalChanges: true})
}

package.json

"@hoodie/client": "^10.1.1",
"pouchdb-browser": "^6.3.4",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions