2020-11-23 00:07:32 +01:00
|
|
|
import { ExpoConfig } from '@expo/config'
|
2021-02-02 22:50:38 +01:00
|
|
|
import { versions } from './package.json'
|
2021-01-20 00:39:39 +01:00
|
|
|
import 'dotenv/config'
|
2020-11-23 00:07:32 +01:00
|
|
|
|
2021-02-02 22:50:38 +01:00
|
|
|
const toootVersion = `${versions.major}.${versions.minor}.${versions.patch}`
|
|
|
|
|
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',
|
2022-01-29 16:37:58 +01:00
|
|
|
scheme: 'tooot',
|
2021-02-02 22:50:38 +01:00
|
|
|
version: toootVersion,
|
2020-11-23 00:07:32 +01:00
|
|
|
privacy: 'hidden',
|
2020-12-29 01:09:22 +01:00
|
|
|
assetBundlePatterns: ['assets/*'],
|
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,
|
2021-03-14 21:48:28 +01:00
|
|
|
deployEnv: process.env.ENVIRONMENT
|
2021-01-20 00:39:39 +01:00
|
|
|
}
|
2020-12-29 16:19:04 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-10-24 00:43:00 +02:00
|
|
|
jsEngine: 'hermes',
|
2021-02-20 19:12:44 +01:00
|
|
|
ios: {
|
|
|
|
bundleIdentifier: 'com.xmflsct.app.tooot'
|
|
|
|
},
|
2021-01-22 01:34:20 +01:00
|
|
|
android: {
|
|
|
|
package: 'com.xmflsct.app.tooot',
|
|
|
|
googleServicesFile: './configs/google-services.json',
|
2022-05-08 23:40:42 +02:00
|
|
|
permissions: ['CAMERA', 'VIBRATE'],
|
|
|
|
blockedPermissions: ['USE_BIOMETRIC', 'USE_FINGERPRINT']
|
Test v4.1 (#320)
* New translations actions.json (German)
* New translations actions.json (Korean)
* New translations actions.json (Chinese Simplified)
* New translations actions.json (Chinese Traditional)
* New translations actions.json (Vietnamese)
* New translations actions.json (Italian)
* New translations actions.json (Portuguese, Brazilian)
* Bump packages
* New translations actions.json (Chinese Simplified)
* Fixed #108
* Fixed #117
* Fixed #137
* Fix badge not cleared on app launch
* Update Expo workflow
* Update build.yml
* New context menu largely working
* Fixed #158
* File format changes by `expo prebuild`
* Update .gitignore
* Try out notification sound
* Bump packages
* New Crowdin updates (#319)
* New translations actions.json (Portuguese, Brazilian)
* New translations timeline.json (Portuguese, Brazilian)
* New translations actions.json (Portuguese, Brazilian)
* New translations compose.json (Portuguese, Brazilian)
* New translations tabs.json (Portuguese, Brazilian)
* New translations actions.json (Vietnamese)
* New translations timeline.json (German)
* New translations mediaSelector.json (Italian)
* New translations contextMenu.json (Vietnamese)
* New translations contextMenu.json (Chinese Traditional)
* New translations contextMenu.json (Chinese Simplified)
* New translations contextMenu.json (Korean)
* New translations contextMenu.json (Italian)
* New translations contextMenu.json (German)
* New translations mediaSelector.json (Portuguese, Brazilian)
* New translations timeline.json (Portuguese, Brazilian)
* New translations timeline.json (Italian)
* New translations mediaSelector.json (German)
* New translations mediaSelector.json (Vietnamese)
* New translations mediaSelector.json (Chinese Traditional)
* New translations mediaSelector.json (Chinese Simplified)
* New translations mediaSelector.json (Korean)
* New translations timeline.json (Chinese Traditional)
* New translations timeline.json (Vietnamese)
* New translations timeline.json (Chinese Simplified)
* New translations timeline.json (Korean)
* New translations contextMenu.json (Portuguese, Brazilian)
* New translations mediaSelector.json (Vietnamese)
* New translations contextMenu.json (Vietnamese)
* New translations contextMenu.json (Vietnamese)
* New translations mediaSelector.json (Chinese Simplified)
* New translations contextMenu.json (German)
* New translations contextMenu.json (Italian)
* New translations contextMenu.json (Korean)
* New translations contextMenu.json (Chinese Simplified)
* New translations contextMenu.json (Portuguese, Brazilian)
2022-06-07 22:27:24 +02:00
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
[
|
|
|
|
'expo-notifications',
|
|
|
|
{
|
|
|
|
sounds: ['./assets/sounds/boop.mp3']
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
2020-11-23 00:07:32 +01:00
|
|
|
})
|