1
0
mirror of https://github.com/tooot-app/app synced 2024-12-27 18:02:34 +01:00
tooot/app.config.ts
xmflsct 215534d0c8 Fix #605
Turns out to be much more complicated than expected. Finally got the app running through Browser Stack (thanks for their sponsoring!), realised the issue was related to an early attempt to create a build for F-Droid #50 which removed the Google Service. However for Android push, Google service is still required.
2023-01-09 00:55:29 +01:00

31 lines
733 B
TypeScript

import { ExpoConfig } from '@expo/config'
import { version } from './package.json'
import 'dotenv/config'
export default (): ExpoConfig => ({
name: 'tooot',
description: 'tooot for Mastodon',
slug: 'tooot',
scheme: 'tooot',
version,
extra: { environment: process.env.ENVIRONMENT },
privacy: 'hidden',
ios: {
bundleIdentifier: 'com.xmflsct.app.tooot'
},
android: {
package: 'com.xmflsct.app.tooot',
permissions: ['NOTIFICATIONS', 'CAMERA', 'VIBRATE'],
blockedPermissions: ['USE_BIOMETRIC', 'USE_FINGERPRINT'],
googleServicesFile: './android/app/google-services.json'
},
plugins: [
[
'expo-notifications',
{
sounds: ['./assets/sounds/boop.mp3']
}
]
]
})