@fto-consult/expo-ui 2.6.0 → 2.6.1

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/metro.config.js CHANGED
@@ -24,5 +24,7 @@ module.exports = (opts)=>{
24
24
  ...sourceExts,"txt",
25
25
  'jsx', 'js','tsx',
26
26
  ]
27
+ // Remove all console logs in production...
28
+ config.transformer.minifierConfig.compress.drop_console = true;
27
29
  return config;
28
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "resolutions": {
@@ -5,9 +5,6 @@
5
5
  import { isRouteActive} from "$cnavigation";
6
6
  import "$cutils";
7
7
  import appConfig from "$capp/config";
8
- import {isMobileNative} from "$platform";
9
- import NetworkLoginScreen from "$escreens/NetworkLogin";
10
- import {defaultVal} from "$utils";
11
8
  import APP from "$capp";
12
9
  ///les items du drawer
13
10
  import items from "$drawerItems";
@@ -46,13 +43,6 @@ export const getItems = (force)=>{
46
43
  }
47
44
  ]
48
45
  };
49
- /*if(false && __DEV__ && isMobileNative()){
50
- dataHelp.items.unshift({
51
- icon : 'math-log',
52
- label : 'Inpecter les requêtes réseau',
53
- routeName : NetworkLoginScreen.screenName,
54
- });
55
- }*/
56
46
  r.push(dataHelp);
57
47
  }
58
48
  return r;
@@ -1,8 +1,6 @@
1
1
  import Auth from "./Auth";
2
2
  import Help from "./Help";
3
- //import NetworkLoginScreen from "./NetworkLogin";
4
3
  export default [
5
4
  ...Auth,
6
5
  ...Help,
7
- //NetworkLoginScreen,
8
6
  ]
@@ -1,22 +0,0 @@
1
- // Copyright 2022 @fto-consult/Boris Fouomene. All rights reserved.
2
- // Use of this source code is governed by a BSD-style
3
- // license that can be found in the LICENSE file.
4
-
5
- //import NetworkLogger from 'react-native-network-logger';
6
- import theme from "$theme";
7
- import Screen from "$elayouts/Screen/ScreenWithOrWithoutAuthContainer";
8
-
9
- const NetworkLoginScreen = () => {
10
- return null;
11
- <Screen withScrollView title="Débuggin du réseau" subtitle = {false}>
12
- <NetworkLogger
13
- theme={theme.isDark()?"dark":undefined}
14
- />
15
- </Screen>
16
- };
17
-
18
- NetworkLoginScreen.displayName = "NetworkLogin";
19
- NetworkLoginScreen.authRequired = false;
20
- NetworkLoginScreen.Modal = true;
21
-
22
- export default NetworkLoginScreen;
@@ -1,7 +0,0 @@
1
- // Copyright 2022 @fto-consult/Boris Fouomene. All rights reserved.
2
- // Use of this source code is governed by a BSD-style
3
- // license that can be found in the LICENSE file.
4
-
5
- export default function NetworkLoginScreen(){
6
- return null;
7
- }