2020-11-23 00:07:32 +01:00
|
|
|
import { ExpoConfig } from '@expo/config'
|
|
|
|
|
|
|
|
export default (): ExpoConfig => ({
|
|
|
|
name: 'mastodon-app',
|
|
|
|
description: 'This is a description',
|
|
|
|
slug: 'mastodon-app',
|
|
|
|
privacy: 'hidden',
|
2020-12-29 16:19:04 +01:00
|
|
|
version: '0.1.0',
|
2020-11-23 00:07:32 +01:00
|
|
|
platforms: ['ios'],
|
|
|
|
orientation: 'portrait',
|
|
|
|
userInterfaceStyle: 'automatic',
|
|
|
|
icon: './assets/icon.png',
|
|
|
|
developmentClient: { silentLaunch: true },
|
|
|
|
scheme: 'mastodonct',
|
|
|
|
ios: {
|
2020-12-29 01:09:22 +01:00
|
|
|
bundleIdentifier: 'com.xmflsct.app.mastodon',
|
2020-11-29 13:11:23 +01:00
|
|
|
infoPlist: {
|
|
|
|
CFBundleAllowMixedLocalizations: true
|
|
|
|
},
|
2020-11-23 00:07:32 +01:00
|
|
|
splash: {
|
|
|
|
image: './assets/splash.png',
|
|
|
|
resizeMode: 'contain',
|
|
|
|
backgroundColor: '#ffffff'
|
2020-12-29 01:09:22 +01:00
|
|
|
},
|
|
|
|
googleServicesFile: './configs/GoogleService-Info.plist'
|
2020-11-23 00:07:32 +01:00
|
|
|
},
|
2020-12-14 22:33:19 +01:00
|
|
|
// locales: {
|
|
|
|
// zh: {
|
|
|
|
// CFBundleDisplayName: '我的嘟嘟'
|
|
|
|
// },
|
|
|
|
// en: {
|
|
|
|
// CFBundleDisplayName: 'My Toots'
|
|
|
|
// }
|
|
|
|
// },
|
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'
|
|
|
|
// config: {
|
|
|
|
// organization: "your sentry organization's short name here",
|
|
|
|
// project: "your sentry project's name here",
|
|
|
|
// authToken: 'your auth token here'
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
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'
|
|
|
|
}
|
|
|
|
}
|
2021-01-04 10:50:24 +01:00
|
|
|
},
|
|
|
|
experiments: {
|
|
|
|
turboModules: true
|
2020-12-29 01:09:22 +01:00
|
|
|
}
|
2020-11-23 00:07:32 +01:00
|
|
|
})
|