HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //proc/self/root/usr/local/lib/node_modules/@ionic/cli/lib/integrations/cordova/config.d.ts
import * as et from 'elementtree';
import { CordovaPackageJson, ProjectIntegration } from '../../../definitions';
export interface ConfiguredPlatform {
    name: string;
    spec?: string;
}
export declare class CordovaConfig {
    readonly configXmlPath: string;
    readonly packageJsonPath: string;
    protected _doc?: et.ElementTree;
    protected _pkg?: CordovaPackageJson;
    protected _sessionid?: string;
    protected saving: boolean;
    constructor(configXmlPath: string, packageJsonPath: string);
    get doc(): et.ElementTree;
    get pkg(): CordovaPackageJson;
    get sessionid(): string;
    static load(configXmlPath: string, packageJsonPath: string): Promise<CordovaConfig>;
    protected reload(): Promise<void>;
    save(): Promise<void>;
    setName(name: string): void;
    setBundleId(bundleId: string): void;
    getBundleId(): string | undefined;
    /**
     * Update config.xml content src to be a dev server url. As part of this
     * backup the original content src for a reset to occur at a later time.
     */
    writeContentSrc(newSrc: string): void;
    /**
     * Set config.xml src url back to its original url
     */
    resetContentSrc(): void;
    getPreference(prefName: string): string | undefined;
    getProjectInfo(): {
        id: string;
        name: string;
        version: string;
    };
    getConfiguredPlatforms(): ConfiguredPlatform[];
    protected write(): string;
}
export declare function loadCordovaConfig(integration: Required<ProjectIntegration>): Promise<CordovaConfig>;