tooot/app.config.ts

65 lines
1.7 KiB
TypeScript
Raw Normal View History

2020-11-23 00:07:32 +01:00
import { ExpoConfig } from '@expo/config'
export default (): ExpoConfig => ({
2021-01-16 01:44:00 +01:00
name: 'tooot',
description: 'tooot for mastodon',
slug: 'tooot',
2020-11-23 00:07:32 +01:00
privacy: 'hidden',
2021-01-16 01:44:00 +01:00
sdkVersion: '40.0.0',
2020-12-29 16:19:04 +01:00
version: '0.1.0',
2021-01-16 01:44:00 +01:00
platforms: ['ios', 'android'],
2020-11-23 00:07:32 +01:00
orientation: 'portrait',
userInterfaceStyle: 'automatic',
icon: './assets/icon.png',
2021-01-16 01:44:00 +01:00
splash: {
backgroundColor: '#FAFAFA',
image: './assets/splash.png'
},
scheme: 'tooot',
2020-11-23 00:07:32 +01:00
ios: {
2021-01-16 23:30:25 +01:00
buildNumber: '1.0',
2021-01-16 01:44:00 +01:00
bundleIdentifier: 'com.xmflsct.app.tooot',
googleServicesFile: './configs/GoogleService-Info.plist',
infoPlist: {
CFBundleAllowMixedLocalizations: true
2021-01-16 01:44:00 +01:00
}
2020-11-23 00:07:32 +01:00
},
2021-01-13 01:03:46 +01:00
android: {
2021-01-16 23:30:25 +01:00
versionCode: 1,
2021-01-16 01:44:00 +01:00
package: 'com.xmflsct.app.tooot',
googleServicesFile: './configs/google-services.json',
permissions: ['CAMERA', 'VIBRATE']
},
2021-01-16 02:26:03 +01:00
// locales: {
// zh: {
// CFBundleDisplayName: '嘟嘟嘟',
// NSCameraUsageDescription: '允许嘟嘟嘟用相机上传照片',
// NSPhotoLibraryUsageDescription: '允许嘟嘟嘟用相册上传照片'
// },
// en: {
// CFBundleDisplayName: 'tooot'
// }
// },
2020-12-29 01:09:22 +01:00
assetBundlePatterns: ['assets/*'],
2020-12-29 16:19:04 +01:00
hooks: {
postPublish: [
{
file: 'sentry-expo/upload-sourcemaps'
}
]
},
2020-12-29 01:09:22 +01:00
web: {
config: {
firebase: {
apiKey: 'AIzaSyAnvo0jyD1WB0tv2FLenz-CSDS-RgaWWR4',
authDomain: 'xmflsct-mastodon-app.firebaseapp.com',
projectId: 'xmflsct-mastodon-app',
storageBucket: 'xmflsct-mastodon-app.appspot.com',
messagingSenderId: '661638997772',
appId: '1:661638997772:web:1e7aab28be7dc06d9f8b29',
measurementId: 'G-3J0FS8WV5J'
}
}
}
2020-11-23 00:07:32 +01:00
})