@fto-consult/expo-ui 2.5.6 → 2.5.8
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/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {Platform } from 'react-native';
|
|
|
3
3
|
import { createRoot } from 'react-dom/client';
|
|
4
4
|
import appConfig from "$capp/config";
|
|
5
5
|
import { activateKeepAwake } from 'expo-keep-awake';
|
|
6
|
-
import { startNetworkLogging } from 'react-native-network-logger';
|
|
6
|
+
//import { startNetworkLogging } from 'react-native-network-logger';
|
|
7
7
|
if (__DEV__) {
|
|
8
8
|
activateKeepAwake();
|
|
9
9
|
}
|
|
@@ -27,7 +27,7 @@ export default function ExpoUIApp (options){
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
if(__DEV__ && !isWeb){
|
|
30
|
-
startNetworkLogging();
|
|
30
|
+
//startNetworkLogging();
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
///fix bug lié au fait que l'application stuck on splashscreen en environnement mobile
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fto-consult/expo-ui",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.8",
|
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"resolutions": {
|
|
@@ -97,7 +97,6 @@
|
|
|
97
97
|
"react-native": "0.70.5",
|
|
98
98
|
"react-native-big-list": "^1.5.5",
|
|
99
99
|
"react-native-gesture-handler": "~2.8.0",
|
|
100
|
-
"react-native-network-logger": "^1.13.0",
|
|
101
100
|
"react-native-paper": "^4.12.5",
|
|
102
101
|
"react-native-paper-dates": "^0.9.2",
|
|
103
102
|
"react-native-reanimated": "~2.12.0",
|
|
@@ -46,13 +46,13 @@ export const getItems = (force)=>{
|
|
|
46
46
|
}
|
|
47
47
|
]
|
|
48
48
|
};
|
|
49
|
-
if(__DEV__ && isMobileNative()){
|
|
49
|
+
/*if(false && __DEV__ && isMobileNative()){
|
|
50
50
|
dataHelp.items.unshift({
|
|
51
51
|
icon : 'math-log',
|
|
52
52
|
label : 'Inpecter les requêtes réseau',
|
|
53
53
|
routeName : NetworkLoginScreen.screenName,
|
|
54
54
|
});
|
|
55
|
-
}
|
|
55
|
+
}*/
|
|
56
56
|
r.push(dataHelp);
|
|
57
57
|
}
|
|
58
58
|
return r;
|
|
@@ -2,15 +2,18 @@
|
|
|
2
2
|
// Use of this source code is governed by a BSD-style
|
|
3
3
|
// license that can be found in the LICENSE file.
|
|
4
4
|
|
|
5
|
-
import NetworkLogger from 'react-native-network-logger';
|
|
5
|
+
//import NetworkLogger from 'react-native-network-logger';
|
|
6
6
|
import theme from "$theme";
|
|
7
7
|
import Screen from "$elayouts/Screen/ScreenWithOrWithoutAuthContainer";
|
|
8
8
|
|
|
9
|
-
const NetworkLoginScreen = () =>
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
+
};
|
|
14
17
|
|
|
15
18
|
NetworkLoginScreen.displayName = "NetworkLogin";
|
|
16
19
|
NetworkLoginScreen.authRequired = false;
|