feat(core): export foregroundEvent and backgroundEvent (#10226)

This commit is contained in:
Juan de Dios Martínez Vallejo
2023-03-03 05:06:39 +01:00
committed by GitHub
parent 7a37bd313d
commit 6fd69436c8
2 changed files with 5 additions and 1 deletions

View File

@ -17,6 +17,8 @@ export declare const Application: {
suspendEvent: string; suspendEvent: string;
resumeEvent: string; resumeEvent: string;
exitEvent: string; exitEvent: string;
foregroundEvent: string;
backgroundEvent: string;
lowMemoryEvent: string; lowMemoryEvent: string;
orientationChangedEvent: string; orientationChangedEvent: string;
systemAppearanceChangedEvent: string; systemAppearanceChangedEvent: string;

View File

@ -6,7 +6,7 @@ export { iOSApplication, AndroidApplication } from './application';
export type { ApplicationEventData, LaunchEventData, OrientationChangedEventData, UnhandledErrorEventData, DiscardedErrorEventData, CssChangedEventData, LoadAppCSSEventData, AndroidActivityEventData, AndroidActivityBundleEventData, AndroidActivityRequestPermissionsEventData, AndroidActivityResultEventData, AndroidActivityNewIntentEventData, AndroidActivityBackPressedEventData, SystemAppearanceChangedEventData } from './application'; export type { ApplicationEventData, LaunchEventData, OrientationChangedEventData, UnhandledErrorEventData, DiscardedErrorEventData, CssChangedEventData, LoadAppCSSEventData, AndroidActivityEventData, AndroidActivityBundleEventData, AndroidActivityRequestPermissionsEventData, AndroidActivityResultEventData, AndroidActivityNewIntentEventData, AndroidActivityBackPressedEventData, SystemAppearanceChangedEventData } from './application';
import { fontScaleChangedEvent, launchEvent, displayedEvent, uncaughtErrorEvent, discardedErrorEvent, suspendEvent, resumeEvent, exitEvent, lowMemoryEvent, orientationChangedEvent, systemAppearanceChanged, systemAppearanceChangedEvent, getMainEntry, getRootView, _resetRootView, getResources, setResources, setCssFileName, getCssFileName, loadAppCss, addCss, on, off, notify, hasListeners, run, orientation, getNativeApplication, hasLaunched, android as appAndroid, ios as iosApp, systemAppearance, setAutoSystemAppearanceChanged, ensureNativeApplication, setMaxRefreshRate } from './application'; import { fontScaleChangedEvent, launchEvent, displayedEvent, uncaughtErrorEvent, discardedErrorEvent, suspendEvent, resumeEvent, exitEvent, lowMemoryEvent, orientationChangedEvent, systemAppearanceChanged, systemAppearanceChangedEvent, getMainEntry, getRootView, _resetRootView, getResources, setResources, setCssFileName, getCssFileName, loadAppCss, addCss, on, off, notify, hasListeners, run, orientation, getNativeApplication, hasLaunched, android as appAndroid, ios as iosApp, systemAppearance, setAutoSystemAppearanceChanged, ensureNativeApplication, setMaxRefreshRate } from './application';
import { inBackground, suspended } from './application/application-common'; import { inBackground, suspended, foregroundEvent, backgroundEvent } from './application/application-common';
export const Application = { export const Application = {
launchEvent, launchEvent,
@ -16,6 +16,8 @@ export const Application = {
suspendEvent, suspendEvent,
resumeEvent, resumeEvent,
exitEvent, exitEvent,
foregroundEvent,
backgroundEvent,
lowMemoryEvent, lowMemoryEvent,
orientationChangedEvent, orientationChangedEvent,
systemAppearanceChangedEvent, systemAppearanceChangedEvent,