Closed KevinOustry closed 2 years ago
Hi there 👋,
I can't figure out the widget-js that I'm using in an Angular app.
widget-js
I'm trying to set the user email at login/logout after UserbackWidget is created / instanciated.
UserbackWidget
How can I access to UserbackWidget as the getUserback() method always returns undefined ?
getUserback()
undefined
Furthermore, the promise is never resolved in my case :
import Userback from '@userback/widget' await Userback('**USERBACK_TOKEN**')
Thanks a lot 🙏
Hi there 👋,
I can't figure out the
widget-js
that I'm using in an Angular app.I'm trying to set the user email at login/logout after
UserbackWidget
is created / instanciated.How can I access to
UserbackWidget
as thegetUserback()
method always returnsundefined
?Furthermore, the promise is never resolved in my case :
Thanks a lot 🙏