@embrace-io/react-native
Version:
A React Native wrapper for the Embrace SDK
41 lines (40 loc) • 1.48 kB
TypeScript
import Wizard from "../util/wizard";
import { IPackageJson } from "./common";
declare const tryToPatchAppDelegate: (iOSProjectName: string) => Promise<boolean>;
/**
* Getting iOS project name either from user's input ('CustomBeautifulApp') or from package.json ({ name: 'custom.beautiful.app' })
*/
declare const getIOSProjectName: (wizard: Wizard) => Promise<any>;
declare const iosInitializeEmbrace: {
name: string;
run: (wizard: Wizard) => Promise<boolean>;
docURL: string;
};
declare const patchPodFileWithKSCrash: () => Promise<void>;
declare const patchPodfile: (json: IPackageJson) => Promise<void> | undefined;
declare const iOSPodfilePatch: {
name: string;
run: (wizard: Wizard) => Promise<any>;
docURL: string;
};
declare const iosPodfileKSCrashPatch: {
name: string;
run: (_wizard: Wizard) => Promise<any>;
docURL: string;
};
declare const patchXcodeBundlePhase: {
name: string;
run: (wizard: Wizard) => Promise<any>;
docURL: string;
};
declare const addUploadBuildPhase: {
name: string;
run: (wizard: Wizard) => Promise<any>;
docURL: string;
};
declare const addEmbraceInitializerSwift: {
name: string;
run: (wizard: Wizard) => Promise<any>;
docURL: string;
};
export { tryToPatchAppDelegate, patchPodfile, getIOSProjectName, patchPodFileWithKSCrash, iosInitializeEmbrace, iOSPodfilePatch, iosPodfileKSCrashPatch, patchXcodeBundlePhase, addUploadBuildPhase, addEmbraceInitializerSwift, };