Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't call setUser #2

Open
davidecampello opened this issue May 5, 2022 · 2 comments
Open

Can't call setUser #2

davidecampello opened this issue May 5, 2022 · 2 comments

Comments

@davidecampello
Copy link

Hi! Thank you for this amazing plugin! I'm trying to call setUser after configure but I'm having a double setUser call, one with the right parameters and one with undefined so user are always null.
I don't have the code at the moment but I can provide an example.
Is the setUser functionality working?

@riderx
Copy link
Collaborator

riderx commented Jul 24, 2022

Hello yes it was working on my side, are you sure you don't initialize twice ?

@kristelle97
Copy link

Hi @riderx, I have the same issue when calling CapacitorCrisp.setUser({ nickname: this.user.name, email: this.user.email, phone: this.user.phone })

Two setUser calls are made for me too, one with the passed parameters and one with undefined (see attached screenshot)
SCR-20240320-krom

@davidecampello did you end up finding a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants