Files
o2o-weather/frontend/apps-in-toss.config.ts
T

13 lines
583 B
TypeScript

import { defineConfig } from '@apps-in-toss/web-framework/config'
// appName 은 앱인토스 콘솔에 등록한 이름과 같아야 한다
export default defineConfig({
appName: 'nalssigak',
brand: { primaryColor: '#ff7a45' },
permissions: [{ name: 'geolocation', access: 'access' }],
navigationBar: { withBackButton: true, withHomeButton: true },
// 기본값은 자동재생·화면 안 재생을 막아 쇼츠(유튜브)가 재생되지 않는다
webView: { allowsInlineMediaPlayback: true, mediaPlaybackRequiresUserAction: false },
webBundleDir: 'dist-toss',
})