chore: cleanup utils packaging

This commit is contained in:
Nathan Walker
2022-11-23 22:42:29 -08:00
parent 6a9484aaa8
commit 046f9314a8
16 changed files with 17 additions and 33 deletions

View File

@ -1,6 +1,6 @@
import * as textModule from '../text';
import { getNativeApplication } from '../application';
import { SDK_VERSION } from '../utils/utils';
import { SDK_VERSION } from '../utils';
import type { IFileSystemAccess } from './file-system-access';

View File

@ -1,12 +1,13 @@
import { ad } from './native-helper';
import { SDK_VERSION } from '../utils';
import { FileSystemAccess } from '../file-system/file-system-access';
import { Trace } from '../trace';
export { ad, dataDeserialize, dataSerialize, iOSNativeHelper } from './native-helper';
export * from './utils-common';
export * from './common';
export { Source } from './debug';
export const SDK_VERSION = android.os.Build.VERSION.SDK_INT;
const MIN_URI_SHARE_RESTRICTED_APK_VERSION = 24;
export function GC() {

View File

@ -2,9 +2,11 @@ import { iOSNativeHelper } from './native-helper';
import { Trace } from '../trace';
export { dataDeserialize, dataSerialize, iOSNativeHelper } from './native-helper';
export * from './utils-common';
export * from './common';
export { Source } from './debug';
export const SDK_VERSION = parseFloat(UIDevice.currentDevice.systemVersion);
export function openFile(filePath: string): boolean {
try {
const appPath = iOSNativeHelper.getCurrentAppPath();

View File

@ -1,7 +0,0 @@
/**
* A lot of plugins still used utils/utils
* Left here for convenience (over time can eventually remove these)
*/
export * from './index';
export const SDK_VERSION = android.os.Build.VERSION.SDK_INT;

View File

@ -1 +0,0 @@
export * from './index';

View File

@ -1,7 +0,0 @@
/**
* A lot of plugins still used utils/utils
* Left here for convenience (over time can eventually remove these)
*/
export * from './index';
export const SDK_VERSION = parseFloat(UIDevice.currentDevice.systemVersion);