Mobile: Show client ID in log (#6897)

pull/6888/head
Self Not Found 2022-10-01 00:38:22 +08:00 committed by GitHub
parent cf219762c9
commit 50baad3c04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -489,6 +489,7 @@ async function initialize(dispatch: Function) {
await migrateMasterPassword();
if (!Setting.value('clientId')) Setting.setValue('clientId', uuid.create());
reg.logger().info(`Client ID: ${Setting.value('clientId')}`);
if (Setting.value('firstStart')) {
let locale = NativeModules.I18nManager.localeIdentifier;