build-configs/aschaffenburg/index.ts
import aschaffenburgOverrideTranslations from 'translations/override-translations/aschaffenburg.json'
import { ASCHAFFENBURG_ASSETS } from '../AssetsType'
import {
AndroidBuildConfigType,
CommonBuildConfigType,
iOSBuildConfigType,
WebBuildConfigType,
} from '../BuildConfigType'
import { APP_STORE_TEAM_ID } from '../common/constants'
import mainImprint from './mainImprint'
import { lightTheme } from './theme'
const APPLICATION_ID = 'app.aschaffenburg'
const BUNDLE_IDENTIFIER = 'app.aschaffenburg'
const commonAschaffenburgBuildConfig: CommonBuildConfigType = {
appName: 'hallo aschaffenburg',
appIcon: 'app_icon_aschaffenburg',
notificationIcon: 'notification_icon_aschaffenburg',
lightTheme,
assets: ASCHAFFENBURG_ASSETS,
cmsUrl: 'https://cms.integreat-app.de',
hostName: 'halloaschaffenburg.de',
allowedHostNames: ['cms.integreat-app.de', 'admin.integreat-app.de'],
allowedLookalikes: [],
supportedIframeSources: ['vimeo.com'],
translationsOverride: aschaffenburgOverrideTranslations,
internalLinksHijackPattern:
'https?:\\/\\/(cms(-test)?\\.integreat-app\\.de|web\\.integreat-app\\.de|integreat\\.app|aschaffenburg\\.app)(?!\\/(media|[^/]*\\/(wp-content|wp-admin|wp-json))\\/.*).*',
featureFlags: {
floss: false,
pois: false,
newsStream: true,
pushNotifications: true,
introSlides: false,
jpalTracking: false,
sentry: true,
developerFriendly: false,
fixedCity: 'hallo',
cityNotCooperatingTemplate: null,
chat: false,
},
aboutUrls: {
default: 'https://www.aschaffenburg.de/halloaschaffenburg',
},
privacyUrls: {
default: 'https://integreat-app.de/datenschutz/',
en: 'https://integreat-app.de/en/privacy/',
},
}
export const androidAschaffenburgBuildConfig: AndroidBuildConfigType = {
...commonAschaffenburgBuildConfig,
splashScreen: false,
applicationId: APPLICATION_ID,
googleServices: {
googleAppId: '1:164298278764:android:2e968d165bb8c80c6fd549',
gcmDefaultSenderId: '164298278764',
defaultWebClientId: '164298278764-hhup7orh5rvg0oumhbabqvp5giudaste.apps.googleusercontent.com',
gaTrackingId: null,
firebaseDatabaseUrl: 'https://integreat-2020.firebaseio.com',
googleApiKey: 'AIzaSyBvc08_Cqww8z2Dh-EXtwHW98HXBk8T7V4',
googleCrashReportingApiKey: 'AIzaSyBvc08_Cqww8z2Dh-EXtwHW98HXBk8T7V4',
projectId: 'integreat-2020',
},
}
export const iosAschaffenburgBuildConfig: iOSBuildConfigType = {
...commonAschaffenburgBuildConfig,
bundleIdentifier: BUNDLE_IDENTIFIER,
provisioningProfileSpecifier: `match Development ${BUNDLE_IDENTIFIER}`,
googleServices: {
clientId: '164298278764-b6gagnbo2vmickaeq2070fg4jipithsk.apps.googleusercontent.com',
reversedClientId: 'com.googleusercontent.apps.164298278764-b6gagnbo2vmickaeq2070fg4jipithsk',
apiKey: 'AIzaSyBSnGYrUWfIAPcEsFya1OYvTMbjvfUyOEU',
gcmSenderId: '164298278764',
plistVersion: '1',
bundleId: 'app.aschaffenburg',
projectId: 'integreat-2020',
storageBucket: 'integreat-2020.appspot.com',
isAdsEnabled: false,
isAnalyticsEnabled: false,
isAppInviteEnabled: true,
isGCMEnabled: true,
isSigninEnabled: true,
googleAppId: '1:164298278764:ios:ce4707c860f0a2cb6fd549',
databaseUrl: 'https://integreat-2020.firebaseio.com',
},
launchScreen: 'LaunchScreenDefault',
}
export const webAschaffenburgBuildConfig: WebBuildConfigType = {
...commonAschaffenburgBuildConfig,
appDescription: 'Ihr digitaler Begleiter für die Stadt Aschaffenburg',
mainImprint,
icons: {
appLogo: '/app-logo.svg',
appLogoMobile: '/app-icon-round.svg',
appleTouchIcon: '/apple-touch-icon.png',
socialMediaPreview: '/social-media-preview.png',
favicons: '/favicons/',
},
apps: {
android: {
applicationId: APPLICATION_ID,
sha256CertFingerprint:
'21:BB:E8:40:4D:4E:18:62:68:A8:16:62:64:FB:27:D1:D1:A4:02:F5:96:44:F6:B9:B5:3F:39:14:17:55:50:99',
},
ios: {
bundleIdentifier: BUNDLE_IDENTIFIER,
appStoreId: '1551810291',
appStoreName: 'aschaffenburg-app',
appleAppSiteAssociationAppIds: [`${APP_STORE_TEAM_ID}.${BUNDLE_IDENTIFIER}`],
},
},
}
const platformBuildConfigs = {
common: commonAschaffenburgBuildConfig,
web: webAschaffenburgBuildConfig,
android: androidAschaffenburgBuildConfig,
ios: iosAschaffenburgBuildConfig,
}
export default platformBuildConfigs