feat(android): edge-to-edge expose helper enableEdgeToEdge

This commit is contained in:
Nathan Walker
2025-09-02 09:25:10 -07:00
parent 84e9190f87
commit 2fcc5372d5
3 changed files with 13 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
import { platformCheck } from './platform-check';
// importing this helper as a separate file avoids "android" symbol clash with the global android object
import { resources, collections, getWindow, getApplication, getCurrentActivity, getApplicationContext, getResources, getPackageName, getInputMethodManager, showSoftInput, dismissSoftInput, setStatusBarColor, setNavigationBarColor, setDarkModeHandler } from './native-helper-for-android';
import { resources, collections, getWindow, getApplication, getCurrentActivity, getApplicationContext, getResources, getPackageName, getInputMethodManager, showSoftInput, dismissSoftInput, setStatusBarColor, setNavigationBarColor, setDarkModeHandler, enableEdgeToEdge } from './native-helper-for-android';
export { dataSerialize, dataDeserialize } from './native-helper-for-android';
export { getWindow } from './native-helper-for-android';
@@ -21,6 +21,7 @@ export const android = {
setStatusBarColor,
setNavigationBarColor,
setDarkModeHandler,
enableEdgeToEdge,
};
/**