Skip to content

Updating Sift.Confg #55

@sidnair

Description

@sidnair

Hi,

Is there a way to change the account id/secret if Sift.open() has already been called? It looks like Sift.open() ignores the config if a SiftImpl exists, and the setConfig() method in SiftImpl isn't exposed by the Sift singleton.

The context is that in the test build of our app, users can configure whether they hit our staging or prod API. So, when the user switches environments, I want to update the Sift config to use the appropriate keys and call Sift.collect().

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