mirror of https://github.com/tooot-app/app
62 lines
1.6 KiB
TypeScript
62 lines
1.6 KiB
TypeScript
import { ExpoConfig } from '@expo/config'
|
|
|
|
export default (): ExpoConfig => ({
|
|
name: 'mastodon-app',
|
|
description: 'This is a description',
|
|
slug: 'mastodon-app',
|
|
privacy: 'hidden',
|
|
version: '0.1.0',
|
|
platforms: ['ios'],
|
|
orientation: 'portrait',
|
|
userInterfaceStyle: 'automatic',
|
|
icon: './assets/icon.png',
|
|
developmentClient: { silentLaunch: true },
|
|
scheme: 'mastodonct',
|
|
ios: {
|
|
bundleIdentifier: 'com.xmflsct.app.mastodon',
|
|
infoPlist: {
|
|
CFBundleAllowMixedLocalizations: true
|
|
},
|
|
splash: {
|
|
image: './assets/splash.png',
|
|
resizeMode: 'contain',
|
|
backgroundColor: '#ffffff'
|
|
},
|
|
googleServicesFile: './configs/GoogleService-Info.plist'
|
|
},
|
|
// locales: {
|
|
// zh: {
|
|
// CFBundleDisplayName: '我的嘟嘟'
|
|
// },
|
|
// en: {
|
|
// CFBundleDisplayName: 'My Toots'
|
|
// }
|
|
// },
|
|
assetBundlePatterns: ['assets/*'],
|
|
hooks: {
|
|
postPublish: [
|
|
{
|
|
file: 'sentry-expo/upload-sourcemaps'
|
|
// config: {
|
|
// organization: "your sentry organization's short name here",
|
|
// project: "your sentry project's name here",
|
|
// authToken: 'your auth token here'
|
|
// }
|
|
}
|
|
]
|
|
},
|
|
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'
|
|
}
|
|
}
|
|
}
|
|
})
|