montana/Русский/Сайт/junona-app/capacitor.config.ts

26 lines
652 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'com.montana.junona',
appName: 'Юнона',
webDir: 'www',
server: {
// Загружаем сайт с удалённого сервера
url: 'http://72.56.102.240',
cleartext: true // Разрешаем HTTP (для разработки)
},
ios: {
contentInset: 'automatic',
backgroundColor: '#0F0F1A',
// Разрешаем доступ к контактам
allowsLinkPreview: false
},
plugins: {
Contacts: {
// Запрос доступа к контактам
}
}
};
export default config;