diff --git a/native/data/sensitive-data-cleaner.react.js b/native/data/sensitive-data-cleaner.react.js --- a/native/data/sensitive-data-cleaner.react.js +++ b/native/data/sensitive-data-cleaner.react.js @@ -23,6 +23,10 @@ if (currentLoggedInUserID) { await commCoreModule.setCurrentUserID(currentLoggedInUserID); } + const databaseDeviceID = await commCoreModule.getDeviceID(); + if (!databaseDeviceID) { + await commCoreModule.setDeviceID('MOBILE'); + } } catch (e) { if (__DEV__) { throw e;