From 74d830a71a72c3dbfefda16c519e90f0ed3e7348 Mon Sep 17 00:00:00 2001 From: Zhiyuan Zheng Date: Sat, 16 Jan 2021 02:26:03 +0100 Subject: [PATCH] locales still doesn't work --- app.config.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app.config.ts b/app.config.ts index 470f40df..640ceb8f 100644 --- a/app.config.ts +++ b/app.config.ts @@ -28,16 +28,16 @@ export default (): ExpoConfig => ({ googleServicesFile: './configs/google-services.json', permissions: ['CAMERA', 'VIBRATE'] }, - locales: { - zh: { - CFBundleDisplayName: '嘟嘟嘟', - NSCameraUsageDescription: '允许嘟嘟嘟用相机上传照片', - NSPhotoLibraryUsageDescription: '允许嘟嘟嘟用相册上传照片' - }, - en: { - CFBundleDisplayName: 'tooot' - } - }, + // locales: { + // zh: { + // CFBundleDisplayName: '嘟嘟嘟', + // NSCameraUsageDescription: '允许嘟嘟嘟用相机上传照片', + // NSPhotoLibraryUsageDescription: '允许嘟嘟嘟用相册上传照片' + // }, + // en: { + // CFBundleDisplayName: 'tooot' + // } + // }, assetBundlePatterns: ['assets/*'], hooks: { postPublish: [