Add the code below to your project to save users' extra information.
Before calling the Subscribe function, run the following functions.
Don't post lines you don't want updated
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));
You can review the sample usage in line 64 on this page.
You can review the sample usage in line 45 on this page.
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.
Start Visilabs Integration