| /expo/packages/expo-modules-core/src/__tests__/ |
| H A D | NativeModulesProxy-test.native.ts | 1 import NativeModulesProxy from '../NativeModulesProxy'; 17 expect(NativeModulesProxy).toHaveProperty('ExpoTest'); 18 expect(NativeModulesProxy.ExpoTest.testConstant).toBe('test'); 19 expect(typeof NativeModulesProxy.ExpoTest.testAsync).toBe('function'); 23 await expect(NativeModulesProxy.ExpoTest.testAsync('a')).resolves.not.toThrow(); 24 await expect(NativeModulesProxy.ExpoTest.testAsync()).rejects.toThrowErrorMatchingSnapshot(); 26 NativeModulesProxy.ExpoTest.testAsync('a', 'b') 31 expect(typeof NativeModulesProxy.ExpoTest.addListener).toBe('function'); 32 expect(typeof NativeModulesProxy.ExpoTest.removeListeners).toBe('function');
|
| /expo/packages/expo-modules-core/build/ |
| H A D | NativeModulesProxy.native.js | 5 const ExpoNativeProxy = global.expo?.modules?.NativeModulesProxy; 8 const NativeModulesProxy = {}; constant 14 NativeModulesProxy[moduleName] = NativeProxy[modulesConstantsKey][moduleName] || {}; 17 NativeModulesProxy[moduleName][methodInfo.name] = (...args) => { 42 …NativeModulesProxy[moduleName].addListener = (...args) => NativeModules.EXReactNativeEventEmitter.… 43 …NativeModulesProxy[moduleName].removeListeners = (...args) => NativeModules.EXReactNativeEventEmit… 49 NativeModulesProxy[moduleName].addListener = () => { }; 50 NativeModulesProxy[moduleName].removeListeners = () => { }; 57 export default NativeModulesProxy;
|
| H A D | NativeModulesProxy.js.map | 1 …NativeModulesProxy.js","sourceRoot":"","sources":["../src/NativeModulesProxy.ts"],"names":[],"mapp…
|
| H A D | NativeModulesProxy.native.d.ts | 2 declare const NativeModulesProxy: { constant 5 export default NativeModulesProxy;
|
| /expo/packages/expo-modules-core/src/ |
| H A D | NativeModulesProxy.native.ts | 8 const ExpoNativeProxy = global.expo?.modules?.NativeModulesProxy; 13 const NativeModulesProxy: { [moduleName: string]: ProxyNativeModule } = {}; constant 21 NativeModulesProxy[moduleName] = NativeProxy[modulesConstantsKey][moduleName] || {}; 25 NativeModulesProxy[moduleName][methodInfo.name] = (...args: unknown[]): Promise<any> => { 58 NativeModulesProxy[moduleName].addListener = (...args) => 60 NativeModulesProxy[moduleName].removeListeners = (...args) => 66 NativeModulesProxy[moduleName].addListener = () => {}; 67 NativeModulesProxy[moduleName].removeListeners = () => {}; 76 export default NativeModulesProxy;
|
| /expo/packages/expo-secure-store/src/__tests__/ |
| H A D | SecureStore-test.native.ts | 1 import { NativeModulesProxy } from 'expo-modules-core'; 11 expect(NativeModulesProxy.ExpoSecureStore.setValueWithKeyAsync).toHaveBeenCalledTimes(1); 12 expect(NativeModulesProxy.ExpoSecureStore.setValueWithKeyAsync).toHaveBeenCalledWith( 21 expect(NativeModulesProxy.ExpoSecureStore.setValueWithKeyAsync).toHaveBeenCalledWith( 29 NativeModulesProxy.ExpoSecureStore.getValueWithKeyAsync.mockImplementation(async () => 'value'); 34 expect(NativeModulesProxy.ExpoSecureStore.getValueWithKeyAsync).toHaveBeenCalledWith( 43 expect(NativeModulesProxy.ExpoSecureStore.deleteValueWithKeyAsync).toHaveBeenCalledWith( 50 NativeModulesProxy.ExpoSecureStore.getValueWithKeyAsync.mockImplementation( 60 expect(NativeModulesProxy.ExpoSecureStore.getValueWithKeyAsync).not.toHaveBeenCalled(); 69 expect(NativeModulesProxy.ExpoSecureStore.setValueWithKeyAsync).not.toHaveBeenCalled();
|
| /expo/packages/expo-maps/src/ |
| H A D | ExpoMaps.ts | 1 import { NativeModulesProxy } from 'expo-modules-core'; 3 export const NativeExpoAppleMapsModule = NativeModulesProxy.ExpoAppleMaps; 4 export const NativeExpoGoogleMapsModule = NativeModulesProxy.ExpoGoogleMaps;
|
| H A D | NativeExpoMapView.tsx | 1 import { requireNativeViewManager, NativeModulesProxy } from 'expo-modules-core'; 14 export const NativeExpoAppleMapsModule = NativeModulesProxy.ExpoAppleMaps; 15 export const NativeExpoGoogleMapsModule = NativeModulesProxy.ExpoGoogleMaps;
|
| /expo/packages/expo-maps/build/ |
| H A D | ExpoMaps.js | 1 import { NativeModulesProxy } from 'expo-modules-core'; 2 export const NativeExpoAppleMapsModule = NativeModulesProxy.ExpoAppleMaps; 3 export const NativeExpoGoogleMapsModule = NativeModulesProxy.ExpoGoogleMaps;
|
| H A D | NativeExpoMapView.js | 1 import { requireNativeViewManager, NativeModulesProxy } from 'expo-modules-core'; 4 export const NativeExpoAppleMapsModule = NativeModulesProxy.ExpoAppleMaps; 5 export const NativeExpoGoogleMapsModule = NativeModulesProxy.ExpoGoogleMaps;
|
| /expo/packages/expo-location/src/__tests__/ |
| H A D | Location-test.native.ts | 1 import { NativeModulesProxy, Platform } from 'expo-modules-core'; 20 NativeModulesProxy.ExpoLocation, 25 NativeModulesProxy.ExpoLocation, 56 NativeModulesProxy.ExpoLocation, 73 mockProperty(NativeModulesProxy.ExpoLocation, 'geocodeAsync', async () => { 111 expect(NativeModulesProxy.ExpoLocation.getCurrentPositionAsync).toHaveBeenCalled(); 122 NativeModulesProxy.ExpoLocation,
|
| /expo/packages/expo-constants/build/ |
| H A D | Constants.js | 1 import { CodedError, NativeModulesProxy } from 'expo-modules-core'; 11 if (NativeModulesProxy.ExpoUpdates) { 13 if (NativeModulesProxy.ExpoUpdates.manifest) { 14 updatesManifest = NativeModulesProxy.ExpoUpdates.manifest; 16 else if (NativeModulesProxy.ExpoUpdates.manifestString) { 17 updatesManifest = JSON.parse(NativeModulesProxy.ExpoUpdates.manifestString); 119 if (NativeModulesProxy.ExpoUpdates && NativeModulesProxy.ExpoUpdates.isEmbeddedLaunch) {
|
| /expo/packages/expo-modules-core/build/sweet/ |
| H A D | NativeErrorManager.js.map | 1 …2B,CAAC","sourcesContent":["import NativeModulesProxy from '../NativeModulesProxy';\nexport defaul…
|
| H A D | NativeErrorManager.js | 1 import NativeModulesProxy from '../NativeModulesProxy'; 2 export default NativeModulesProxy.ExpoModulesCoreErrorManager;
|
| /expo/packages/expo-constants/src/ |
| H A D | Constants.ts | 11 import { CodedError, NativeModulesProxy } from 'expo-modules-core'; 49 if (NativeModulesProxy.ExpoUpdates) { 51 if (NativeModulesProxy.ExpoUpdates.manifest) { 52 updatesManifest = NativeModulesProxy.ExpoUpdates.manifest; 53 } else if (NativeModulesProxy.ExpoUpdates.manifestString) { 54 updatesManifest = JSON.parse(NativeModulesProxy.ExpoUpdates.manifestString); 174 if (NativeModulesProxy.ExpoUpdates && NativeModulesProxy.ExpoUpdates.isEmbeddedLaunch) {
|
| /expo/packages/expo-tracking-transparency/src/ |
| H A D | ExpoTrackingTransparency.ts | 1 import { NativeModulesProxy } from 'expo-modules-core'; 3 export default NativeModulesProxy.ExpoTrackingTransparency;
|
| /expo/packages/expo-modules-core/src/sweet/ |
| H A D | NativeErrorManager.ts | 1 import NativeModulesProxy from '../NativeModulesProxy'; 2 export default NativeModulesProxy.ExpoModulesCoreErrorManager;
|
| /expo/packages/expo-face-detector/src/ |
| H A D | ExpoFaceDetector.ts | 1 import { NativeModulesProxy } from 'expo-modules-core'; 3 export default NativeModulesProxy.ExpoFaceDetector;
|
| /expo/packages/expo-contacts/src/ |
| H A D | ExpoContacts.ts | 1 import { NativeModulesProxy } from 'expo-modules-core'; 3 export default NativeModulesProxy.ExpoContacts;
|
| /expo/packages/expo-updates/src/ |
| H A D | ExpoUpdates.ts | 1 import { NativeModulesProxy } from 'expo-modules-core'; 2 export default NativeModulesProxy.ExpoUpdates ?? ({} as any);
|
| /expo/packages/expo-face-detector/build/ |
| H A D | ExpoFaceDetector.js | 1 import { NativeModulesProxy } from 'expo-modules-core'; 2 export default NativeModulesProxy.ExpoFaceDetector;
|
| /expo/packages/expo-tracking-transparency/build/ |
| H A D | ExpoTrackingTransparency.js | 1 import { NativeModulesProxy } from 'expo-modules-core'; 2 export default NativeModulesProxy.ExpoTrackingTransparency;
|
| /expo/packages/expo-updates/build/ |
| H A D | ExpoUpdates.js | 1 import { NativeModulesProxy } from 'expo-modules-core'; 2 export default NativeModulesProxy.ExpoUpdates ?? {};
|
| /expo/packages/expo-contacts/build/ |
| H A D | ExpoContacts.js | 1 import { NativeModulesProxy } from 'expo-modules-core'; 2 export default NativeModulesProxy.ExpoContacts;
|
| /expo/packages/expo-modules-core/android/src/main/java/expo/modules/adapters/react/ |
| H A D | ModuleRegistryAdapter.java | 34 private NativeModulesProxy mModulesProxy; 36 private void setModulesProxy(@Nullable NativeModulesProxy newProxy) { in setModulesProxy() 62 NativeModulesProxy proxy = getOrCreateNativeModulesProxy(reactContext, null); in createNativeModules() 84 …NativeModulesProxy nativeModulesProxy = getOrCreateNativeModulesProxy(reactContext, moduleRegistry… in getNativeModulesFromModuleRegistry() 106 …NativeModulesProxy modulesProxy = Objects.requireNonNull(getOrCreateNativeModulesProxy(reactContex… in createViewManagers() 120 private synchronized NativeModulesProxy getOrCreateNativeModulesProxy( in getOrCreateNativeModulesProxy() 130 setModulesProxy(new NativeModulesProxy(reactContext, registry, mModulesProvider)); in getOrCreateNativeModulesProxy() 132 setModulesProxy(new NativeModulesProxy(reactContext, registry)); in getOrCreateNativeModulesProxy()
|