@fto-consult/expo-ui 8.14.0 → 8.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "8.14.0",
3
+ "version": "8.14.2",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "scripts": {
6
6
  "clear-npx-cache": "npx clear-npx-cache",
package/src/App.js CHANGED
@@ -13,8 +13,8 @@ import App from "./AppEntry";
13
13
  * }
14
14
  */
15
15
 
16
- export default function ExpoUIAppEntryProvider({children,init,...rest}){
16
+ export default function ExpoUIAppEntryProvider({children,withSplashScreen,init,...rest}){
17
17
  return <Provider {...rest}>
18
- <App init={init} children={children}/>
18
+ <App withSplashScreen = {withSplashScreen} init={init} children={children}/>
19
19
  </Provider>
20
20
  }
@@ -267,6 +267,7 @@ function App({init:initApp,initialRouteName:appInitialRouteName,children,withSpl
267
267
  </NavigationContainer> : null;
268
268
  const content = isLoaded ? typeof children == 'function'? children({children:child,appConfig,config:appConfig}) : child : null;
269
269
  const SplashComponent = withSplashScreen === false ? React.Fragment : SplashScreen;
270
+ console.log("with splassschend dis ",withSplashScreen," and ",splashProps);
270
271
  const splashProps = withSplashScreen === false ? {} : {isLoaded,Component:SplashScreenComponent};
271
272
  return <SafeAreaProvider>
272
273
  <AppEntryRootView MainProvider={MainProvider} isInitialized={state.hasCallInitApp} isLoading={isLoading} hasGetStarted={hasGetStarted} isLoaded={isLoaded}>