Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Add the code below to your project to save users' the extra information of the users.

Note

Before Run the following functions before calling the Subscribe function, run the following functions.

Don't post lines submit rows you don't want updated

Code Block
languagejs
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.

 

...

If you are working with us as an IYS integrator, you need to add the parameters below during the user registration phase.

Note: If your users are a corporate account, you need to send the RecipientType parameter as INDIVIDUAL, if not TRADEMARK.

Code Block
languagejs
await euroMessageApi.setUserProperty('ConsentTime', "2021-03-18 12:12:12")
await euroMessageApi.setUserProperty('RecipientType', "BIREYSEL")
await euroMessageApi.setUserProperty('ConsentSource', "HS_MOBIL")

🎉 Congrulations, you have completed the RMC integration 🎉

...

You If you haven't, you can start Visilabs integration by clicking the button below.

Ui button
colorgreen
sizelarge
titleStart Visilabs IntegrationEntegrasyonuna Başla
urlhttps://relateddigital.atlassian.net/wiki/spaces/KBRMCKBT/pages/10907156571708392505/React+Native+New-+SDKVisilabs