config.AndroidManifestAdditions
android.manifest, checked, with every key present and values as text.
Verwendung
Validate a configuration in an app-development tool.
Dieser Typ wird verwendet von config.resolveConfig
// Validate a configuration in an app-development tool.
import { resolveConfig, SETTING_DEFAULTS, IOS_BACKGROUND_MODES } from 'kuito/config';
const config = resolveConfig(
{
name: 'Notes',
ios: { bundleIdentifier: 'com.example.notes' },
android: { applicationId: 'com.example.notes' },
environments: { staging: { idSuffix: '.staging' } },
},
'/project/kuito.config.ts',
'staging',
);
console.log(config.ios.bundleIdentifier, config.splash, config.icon);
console.log(SETTING_DEFAULTS.minSdk, IOS_BACKGROUND_MODES);Typdeklaration
export interface AndroidManifestAdditions {
application: Record<string, string>;
activity: Record<string, string>;
metaData: Record<string, string>;
usesPermissions: string[];
usesFeatures: { name: string; required: boolean }[];
queries: { packages: string[]; intents: { action: string; data: AndroidIntentData }[] };
intentFilters: AndroidIntentFilter[];
}Mitglieder 7
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
application | Record<string, string> | Ja | — |
activity | Record<string, string> | Ja | — |
metaData | Record<string, string> | Ja | — |
usesPermissions | string[] | Ja | — |
usesFeatures | { name: string; required: boolean;}[] | Ja | — |
queries | { packages: string[]; intents: { action: string; data: AndroidIntentData; }[];} | Ja | — |
intentFilters | AndroidIntentFilter[] | Ja | — |
queries — verschachtelte Felder
queries Felder
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
packages | string[] | Ja | — |
intents | { action: string; data: AndroidIntentData;}[] | Ja | — |
Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.