Add the code below to your project to save users' extra information.
Note |
---|
Before calling the Subscribe function, run the following functions. |
Don't post lines you don't want updated
Code Block | ||
---|---|---|
| ||
addExtra = async () => {
await euroMessageApi.setUserProperty("email",this.state.user.email);
await euroMessageApi.setUserProperty("keyID",this.state.user.keyID);
await euroMessageApi.setUserProperty("pushPermit",this.state.user.pushPermit);
await euroMessageApi.setUserProperty("gsmPermit",this.state.user.gsmPermit);
await euroMessageApi.setUserProperty("emailPermit",this.state.user.emailPermit);
}
this.addExtra().then(()=>euroMessageApi.subscribe(token)); |
Info |
---|
You can review the sample usage in line 64 on this page. |
Info |
---|
You can review the sample usage in line 45 on this page. |
Info |
---|
You can review the sample usage in line 42 on this page. |
🎉 Congratulations you have completed the RMC integration 🎉
...
You can start Visilabs integration by clicking the button below.
Ui button | ||||||||
---|---|---|---|---|---|---|---|---|
|