@fto-consult/expo-ui 8.76.4 → 8.76.5
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 +1 -1
- package/src/AppEntry/index.js +0 -1
- package/src/pdf/print.web.js +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fto-consult/expo-ui",
|
3
|
-
"version": "8.76.
|
3
|
+
"version": "8.76.5",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"react-native-paper-doc": "https://github.com/callstack/react-native-paper/tree/main/docs/docs/guides",
|
6
6
|
"scripts": {
|
package/src/AppEntry/index.js
CHANGED
@@ -74,7 +74,6 @@ function App({init:initApp,initialRouteName:appInitialRouteName,children}) {
|
|
74
74
|
});
|
75
75
|
React.useEffect(() => {
|
76
76
|
const loadResources = ()=>{
|
77
|
-
return Promise.resolve(true);
|
78
77
|
return new Promise((resolve)=>{
|
79
78
|
loadFonts(FontsIconsFilter).catch((e)=>{
|
80
79
|
console.warn(e," ierror loading app resources fonts");
|
package/src/pdf/print.web.js
CHANGED
@@ -8,8 +8,8 @@ export default function print(pdfMakeInstance,options,...rest){
|
|
8
8
|
if(isElectron()){
|
9
9
|
return electronPrint(pdfMakeInstance,options,...rest);
|
10
10
|
}
|
11
|
+
logRNWebview("printing pdf, check if can post react native webview message ? "+canPostWebviewMessage());
|
11
12
|
if(canPostWebviewMessage()){
|
12
|
-
alert("printing pdf, check if can post react native webview message ? "+canPostWebviewMessage());
|
13
13
|
let fileName = defaultStr(options?.fileName);
|
14
14
|
if(!fileName){
|
15
15
|
fileName = "printed-pdf-"+DateLib.format(new Date(),"dd-mm-yyyy HH MM ss");
|