1
0
mirror of https://github.com/tooot-app/app synced 2024-12-15 18:58:43 +01:00
tooot/app.config.ts
Zhiyuan Zheng 177afe1dd1
Fix back button
Using customized component, need to get `navigation` from props instead of hooks
2020-12-14 22:33:19 +01:00

36 lines
830 B
TypeScript

import { ExpoConfig } from '@expo/config'
export default (): ExpoConfig => ({
name: 'mastodon-app',
description: 'This is a description',
slug: 'mastodon-app',
privacy: 'hidden',
version: '1.0.0',
platforms: ['ios'],
orientation: 'portrait',
userInterfaceStyle: 'automatic',
icon: './assets/icon.png',
developmentClient: { silentLaunch: true },
scheme: 'mastodonct',
ios: {
bundleIdentifier: 'com.xmflsct.mastodon',
infoPlist: {
CFBundleAllowMixedLocalizations: true
},
splash: {
image: './assets/splash.png',
resizeMode: 'contain',
backgroundColor: '#ffffff'
}
},
// locales: {
// zh: {
// CFBundleDisplayName: '我的嘟嘟'
// },
// en: {
// CFBundleDisplayName: 'My Toots'
// }
// },
assetBundlePatterns: ['assets/*']
})