Typically, the SDK remembers the MUID after the MUID has been assigned and starts the next time with the same MUID. This functionality can be inconvenient when testing. The MceConfig.json file provides the “non-sticky MUID” option that lets you assign new MUIDs to devices when apps are uninstalled and then reinstalled.

To generate new UserIDs and ChannelIDs when an app is reinstalled, open the MceConfig.json configuration file and set invalidateExistingUser to true. If you set the flag to false, the UserID and ChannelId do not change between reinstallations. The option is set to false, by default. Ensure that invalidateExistingUser is false before you ship your production app.

For information about configuring MceConfig.json, see Getting started with mobile app messages in iOS apps developed with Objective C or Getting started with mobile app messages in iOS apps developed with Swift.

Join The Discussion

Your email address will not be published. Required fields are marked *