Correct localized bundle info

This commit is contained in:
Zhiyuan Zheng 2021-01-16 02:15:15 +01:00
parent 0dd8df942e
commit e1962b278f
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0
3 changed files with 6 additions and 7 deletions

View File

@ -5,7 +5,7 @@ on:
- testing - testing
jobs: jobs:
publish: publish:
runs-on: ubuntu-latest runs-on: macos-11.0
steps: steps:
- name: -- Step 1 -- Checkout code - name: -- Step 1 -- Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2

View File

@ -29,7 +29,11 @@ export default (): ExpoConfig => ({
permissions: ['CAMERA', 'VIBRATE'] permissions: ['CAMERA', 'VIBRATE']
}, },
locales: { locales: {
zh: './src/i18n/zh/app.json', zh: {
CFBundleDisplayName: '嘟嘟嘟',
NSCameraUsageDescription: '允许嘟嘟嘟用相机上传照片',
NSPhotoLibraryUsageDescription: '允许嘟嘟嘟用相册上传照片'
},
en: { en: {
CFBundleDisplayName: 'tooot' CFBundleDisplayName: 'tooot'
} }

View File

@ -1,5 +0,0 @@
{
"CFBundleDisplayName": "嘟嘟嘟",
"NSCameraUsageDescription": "允许嘟嘟嘟用相机上传照片",
"NSPhotoLibraryUsageDescription": "允许嘟嘟嘟用相册上传照片"
}