How to use the @unimodules/core.NativeModulesProxy.ExponentFileSystem function in @unimodules/core

To help you get started, we’ve selected a few @unimodules/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github expo / expo / packages / expo-file-system / src / ExponentFileSystem.ts View on Github external
import { NativeModulesProxy } from '@unimodules/core';

import ExponentFileSystemShim from './ExponentFileSystemShim';
import { ExponentFileSystemModule } from './FileSystem.types';

let platformModule;

if (NativeModulesProxy.ExponentFileSystem) {
  platformModule = NativeModulesProxy.ExponentFileSystem;
} else {
  platformModule = ExponentFileSystemShim;
}

export default platformModule as ExponentFileSystemModule;
github expo / expo / packages / expo-file-system / src / ExponentFileSystem.ts View on Github external
import { NativeModulesProxy } from '@unimodules/core';

import ExponentFileSystemShim from './ExponentFileSystemShim';
import { ExponentFileSystemModule } from './FileSystem.types';

let platformModule;

if (NativeModulesProxy.ExponentFileSystem) {
  platformModule = NativeModulesProxy.ExponentFileSystem;
} else {
  platformModule = ExponentFileSystemShim;
}

export default platformModule as ExponentFileSystemModule;
github expo / expo / packages / expo-file-system / build / ExponentFileSystem.js View on Github external
import { NativeModulesProxy } from '@unimodules/core';
import ExponentFileSystemShim from './ExponentFileSystemShim';
let platformModule;
if (NativeModulesProxy.ExponentFileSystem) {
    platformModule = NativeModulesProxy.ExponentFileSystem;
}
else {
    platformModule = ExponentFileSystemShim;
}
export default platformModule;
//# sourceMappingURL=ExponentFileSystem.js.map
github expo / expo / packages / expo-file-system / build / ExponentFileSystem.js View on Github external
import { NativeModulesProxy } from '@unimodules/core';
import ExponentFileSystemShim from './ExponentFileSystemShim';
let platformModule;
if (NativeModulesProxy.ExponentFileSystem) {
    platformModule = NativeModulesProxy.ExponentFileSystem;
}
else {
    platformModule = ExponentFileSystemShim;
}
export default platformModule;
//# sourceMappingURL=ExponentFileSystem.js.map