exponea / exponea-react-native-sdk

MIT License
8 stars 13 forks source link

Changing Project Configuration at Runtime #116

Closed phuongwd closed 5 months ago

phuongwd commented 5 months ago

Changing Project Configuration at Runtime

We have two project configurations called retail and wholesale.

Steps:

  1. Open the app.
  2. A retail user logs in.
  3. Call Exponea.configure with the retail configuration.
  4. Perform actions as needed.
  5. Log out.
  6. Call the method Exponea.anonymize.
  7. A wholesale user logs in.
  8. Call Exponea.configure with the wholesale configuration.

Actual Result:

Expected Result:

adam1929 commented 5 months ago

Hi @phuongwd could you please list things that you want to change with new configuration? I would like to note for project switching with anonymize method And there are some things that are able to change in runtime. Please check them and list thing that you want to change in runtime. SDK could be initialised only once. Thank you

phuongwd commented 5 months ago

@adam1929 thanks for response. let i check