locales still doesn't work

This commit is contained in:
Zhiyuan Zheng 2021-01-16 02:26:03 +01:00
parent 881bc4ba84
commit 74d830a71a
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0
1 changed files with 10 additions and 10 deletions

View File

@ -28,16 +28,16 @@ export default (): ExpoConfig => ({
googleServicesFile: './configs/google-services.json', googleServicesFile: './configs/google-services.json',
permissions: ['CAMERA', 'VIBRATE'] permissions: ['CAMERA', 'VIBRATE']
}, },
locales: { // locales: {
zh: { // zh: {
CFBundleDisplayName: '嘟嘟嘟', // CFBundleDisplayName: '嘟嘟嘟',
NSCameraUsageDescription: '允许嘟嘟嘟用相机上传照片', // NSCameraUsageDescription: '允许嘟嘟嘟用相机上传照片',
NSPhotoLibraryUsageDescription: '允许嘟嘟嘟用相册上传照片' // NSPhotoLibraryUsageDescription: '允许嘟嘟嘟用相册上传照片'
}, // },
en: { // en: {
CFBundleDisplayName: 'tooot' // CFBundleDisplayName: 'tooot'
} // }
}, // },
assetBundlePatterns: ['assets/*'], assetBundlePatterns: ['assets/*'],
hooks: { hooks: {
postPublish: [ postPublish: [