1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Mobile: Show client ID in log (#6897)

This commit is contained in:
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

View File

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