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',
permissions: ['CAMERA', 'VIBRATE']
},
locales: {
zh: {
CFBundleDisplayName: '嘟嘟嘟',
NSCameraUsageDescription: '允许嘟嘟嘟用相机上传照片',
NSPhotoLibraryUsageDescription: '允许嘟嘟嘟用相册上传照片'
},
en: {
CFBundleDisplayName: 'tooot'
}
},
// locales: {
// zh: {
// CFBundleDisplayName: '嘟嘟嘟',
// NSCameraUsageDescription: '允许嘟嘟嘟用相机上传照片',
// NSPhotoLibraryUsageDescription: '允许嘟嘟嘟用相册上传照片'
// },
// en: {
// CFBundleDisplayName: 'tooot'
// }
// },
assetBundlePatterns: ['assets/*'],
hooks: {
postPublish: [