Hello,
I would like to know if PWA is current supported?
The app that I am integrating with react-native-web runs on chrome and safari normally.
The issue is that when I create the home shortcut, on Android, the app displays a blank screen, and on IOS the app shows up as on the Browser. (with search bar, but components are rendered normally)
And suggestion to get this solved?
Best Regards and congratulations for the initiative.
I think that's related to configuration in your HTML file rather than any of the JS in react-native-web. 馃槄
I'd suggest double checking your manifest and checking for errors in the dev tools.
This is a component library for React DOM, so it will work for any PWA. The problems you are having are unrelated to this library. Perhaps ask on Stackoverflow or similar
Thanks for your response @RangerMauve and @necolas .
I am new to react native web.
My doubt is about how can I cache the files bundled from react native to react.
Have you done that?
If yes, could you please give me some direction?
Thanks in advance.
Hey @vlimag, as @RangerMauve and @necolas stated, this library is simply a way to render React Native components in React DOM. The way your app is bundled and distributed is entirely up to you, and out of the scope of this library.
As a suggestion, you could lean on something like create-react-app so you don't have to worry as much about configuring builds, and you can see an example of what that'd look like here: #1192. But as @RangerMauve said, it seems like this issue has to do with your manifest.json, and not the entire build in general. There is some documentation on PWA's and CRA here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app