Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

  • No labels