2020-11-23 00:07:32 +01:00
|
|
|
import { ExpoConfig } from '@expo/config'
|
2021-01-20 00:39:39 +01:00
|
|
|
import 'dotenv/config'
|
2020-11-23 00:07:32 +01:00
|
|
|
|
|
|
|
export default (): ExpoConfig => ({
|
2021-01-16 01:44:00 +01:00
|
|
|
name: 'tooot',
|
2021-01-30 01:29:15 +01:00
|
|
|
description: 'tooot for Mastodon',
|
2021-01-16 01:44:00 +01:00
|
|
|
slug: 'tooot',
|
2020-11-23 00:07:32 +01:00
|
|
|
privacy: 'hidden',
|
2021-01-16 01:44:00 +01:00
|
|
|
sdkVersion: '40.0.0',
|
2021-02-01 02:16:53 +01:00
|
|
|
version: '0.8',
|
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-12-29 01:09:22 +01:00
|
|
|
assetBundlePatterns: ['assets/*'],
|
2021-01-22 01:34:20 +01:00
|
|
|
extra: {
|
2021-01-24 02:25:43 +01:00
|
|
|
sentryDSN: process.env.SENTRY_DSN,
|
|
|
|
sentryEnv: process.env.SENTRY_DEPLOY_ENV
|
2021-01-22 01:34:20 +01:00
|
|
|
},
|
2020-12-29 16:19:04 +01:00
|
|
|
hooks: {
|
|
|
|
postPublish: [
|
|
|
|
{
|
2021-01-20 00:39:39 +01:00
|
|
|
file: 'sentry-expo/upload-sourcemaps',
|
|
|
|
config: {
|
|
|
|
organization: process.env.SENTRY_ORGANIZATION,
|
|
|
|
project: process.env.SENTRY_PROJECT,
|
|
|
|
authToken: process.env.SENTRY_AUTH_TOKEN,
|
|
|
|
setCommits: process.env.GITHUB_SHA || undefined,
|
|
|
|
deployEnv: process.env.SENTRY_DEPLOY_ENV
|
|
|
|
}
|
2020-12-29 16:19:04 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-22 01:34:20 +01:00
|
|
|
locales: {
|
|
|
|
en: './src/i18n/en/system.json',
|
|
|
|
zh: './src/i18n/zh-Hans/system.json'
|
|
|
|
},
|
|
|
|
android: {
|
2021-01-27 00:35:34 +01:00
|
|
|
versionCode: 4,
|
2021-01-22 01:34:20 +01:00
|
|
|
package: 'com.xmflsct.app.tooot',
|
|
|
|
googleServicesFile: './configs/google-services.json',
|
|
|
|
permissions: ['CAMERA', 'VIBRATE']
|
2020-12-29 01:09:22 +01:00
|
|
|
}
|
2020-11-23 00:07:32 +01:00
|
|
|
})
|