Home
last modified time | relevance | path

Searched refs:initialProps (Results 1 – 25 of 44) sorted by relevance

12

/expo/packages/expo-modules-core/src/__tests__/
H A DPermissionsHook-test.ts55 { initialProps: { get: false } }
91 initialProps: { get: true, request: true },
118 { initialProps: { get: false } }
134 { initialProps: { get: true } }
147 { initialProps: { get: false } }
163 { initialProps: { get: true } }
177 { initialProps: { get: true, setting: 'something' } }
192 { initialProps: { request: false } }
208 { initialProps: { request: true } }
221 { initialProps: { request: false } }
[all …]
/expo/packages/expo-asset/src/__tests__/
H A DAssetHooks-test.ts20 const hook = renderHook(useAssets, { initialProps: STUB_MODULES });
28 const hook = renderHook(useAssets, { initialProps: STUB_MODULES });
40 const hook = renderHook(useAssets, { initialProps: STUB_MODULES });
52 const hook = renderHook(useAssets, { initialProps: STUB_MODULES });
/expo/docs/pages/
H A D_document.tsx13 const initialProps = await Document.getInitialProps(ctx);
15 ...initialProps,
16 styles: <>{initialProps.styles}</>,
/expo/ios/Exponent/Kernel/Core/
H A DEXKernelAppRecord.m17 - (instancetype)initWithManifestUrl:(NSURL *)manifestUrl initialProps:(NSDictionary *)initialProps
20 _appManager = [[EXReactAppManager alloc] initWithAppRecord:self initialProps:initialProps];
H A DEXKernelAppRegistry.h23 …String *)registerAppWithManifestUrl:(NSURL *)manifestUrl initialProps:(NSDictionary *)initialProps;
H A DEXKernel.h28 …KernelAppRecord *)createNewAppWithUrl:(NSURL *)url initialProps:(nullable NSDictionary *)initialPr…
H A DEXKernelAppRecord.h24 …tancetype)initWithManifestUrl:(NSURL *)manifestUrl initialProps:(nullable NSDictionary *)initialPr…
H A DEXKernelAppRegistry.m28 …SString *)registerAppWithManifestUrl:(NSURL *)manifestUrl initialProps:(NSDictionary *)initialProps
32 …*newRecord = [[EXKernelAppRecord alloc] initWithManifestUrl:manifestUrl initialProps:initialProps];
H A DEXKernel.m188 …KernelAppRecord *)createNewAppWithUrl:(NSURL *)url initialProps:(nullable NSDictionary *)initialPr…
190 NSString *recordId = [_appRegistry registerAppWithManifestUrl:url initialProps:initialProps];
232 [self createNewAppWithUrl:appRecord.appLoader.manifestUrl initialProps:nil];
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/uimanager/
H A DABI49_0_0SurfaceRegistryBinding.h27 folly::dynamic const &initialProps,
39 folly::dynamic const &initialProps,
H A DABI49_0_0SurfaceRegistryBinding.cpp20 folly::dynamic const &initialProps, in startSurface() argument
25 parameters["initialProps"] = initialProps; in startSurface()
73 folly::dynamic const &initialProps, in setSurfaceProps() argument
78 parameters["initialProps"] = initialProps; in setSurfaceProps()
/expo/packages/expo-font/src/__tests__/
H A DFontHooks-test.ts31 const hook = renderHook(useFonts, { initialProps: FONTS });
46 const hook = renderHook(useFonts, { initialProps: FONTS });
58 const hook = renderHook(useFonts, { initialProps: FONTS });
/expo/packages/expo-dev-menu/ios/
H A DDevMenuViewController.swift26 reactRootView?.appProperties = initialProps() in updateProps()
63 private func initialProps() -> [String: Any] { in initialProps() function
98 …ctRootView = DevMenuRootView(bridge: bridge, moduleName: "main", initialProperties: initialProps()) in maybeRebuildRootView()
/expo/ios/Exponent/ExpoKit/
H A DEXViewController.m40 …NSDictionary *initialProps = [[EXKernel sharedInstance] initialAppPropsFromLaunchOptions:[ExpoKit …
42 initialProps:initialProps];
/expo/ios/Exponent/Kernel/ReactAppManager/
H A DEXReactAppManager.h27 …stancetype)initWithAppRecord:(EXKernelAppRecord *)record initialProps:(NSDictionary *)initialProps;
/expo/android/app/src/main/java/host/exp/exponent/
H A DMainActivity.kt28 override fun initialProps(expBundle: Bundle?): Bundle? { in initialProps() method in host.exp.exponent.MainActivity
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/AppDelegate/
H A DABI49_0_0RCTAppDelegate.h58 @property (nonatomic, strong) NSDictionary *initialProps;
H A DABI49_0_0RCTAppDelegate.mm98 …NSMutableDictionary *initProps = self.initialProps ? [self.initialProps mutableCopy] : [NSMutableD…
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/AppDelegate/
H A DABI48_0_0RCTAppDelegate.h58 @property (nonatomic, strong) NSDictionary *initialProps;
H A DABI48_0_0RCTAppDelegate.mm87 …NSMutableDictionary *initProps = self.initialProps ? [self.initialProps mutableCopy] : [NSMutableD…
/expo/android/expoview/src/main/java/host/exp/exponent/kernel/
H A DDevMenuManager.kt304 private fun prepareRootView(initialProps: Bundle): ReactRootView { in prepareRootView()
312 …RootView?.startReactApplication(kernel.reactInstanceManager, DEV_MENU_JS_MODULE_NAME, initialProps) in prepareRootView()
314 reactRootView?.appProperties = initialProps in prepareRootView()
/expo/apps/bare-expo/ios/BareExpo/
H A DAppDelegate.mm36 self.initialProps = @{};
/expo/templates/expo-template-bare-minimum/ios/HelloWorld/
H A DAppDelegate.mm14 self.initialProps = @{};
/expo/templates/expo-template-tv/ios/HelloWorld/
H A DAppDelegate.mm14 self.initialProps = @{};
/expo/apps/fabric-tester/ios/fabrictester/
H A DAppDelegate.mm14 self.initialProps = @{};

12