@dynatrace/react-native-plugin
Version:
This plugin gives you the ability to use the Dynatrace Mobile agent in your react native application.
39 lines (38 loc) • 1.31 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AppStartTypeKeyMapping = exports.AppStartType = void 0;
var AppStartType;
(function (AppStartType) {
AppStartType["DOWNLOAD_START"] = "downloadStart";
AppStartType["DOWNLOAD_END"] = "downloadEnd";
AppStartType["RUN_JS_BUNDLE_START"] = "runJsBundleStart";
AppStartType["RUN_JS_BUNDLE_END"] = "runJsBundleEnd";
AppStartType["CONTENT_APPEARED"] = "contentAppeared";
AppStartType["RELOAD"] = "reload";
})(AppStartType = exports.AppStartType || (exports.AppStartType = {}));
exports.AppStartTypeKeyMapping = [
{
type: AppStartType.RELOAD,
key: "app_start.react_native.run_js_bundle.load_time",
},
{
type: AppStartType.DOWNLOAD_START,
key: "app_start.react_native.download.start_time",
},
{
type: AppStartType.RUN_JS_BUNDLE_START,
key: "app_start.react_native.run_js_bundle.start_time",
},
{
type: AppStartType.DOWNLOAD_END,
key: "app_start.react_native.download.end_time",
},
{
type: AppStartType.RUN_JS_BUNDLE_END,
key: "app_start.react_native.run_js_bundle.end_time",
},
{
type: AppStartType.CONTENT_APPEARED,
key: "app_start.react_native.content_appeared",
},
];