Open kgraugaard opened 5 years ago
That also uses react-native-web
if we were to switch, I would like it it used react-native-dom
instead. That way react-native-video
is usable.
I would like it it used react-native-dom instead
Since the project is still super small, it's the perfect time for that switch
Have y'all looked into using Expo? They've made a large push recently into making cross platform apps that work with web, and the expo client app could make deployments really easy for mobile devices
there seams to have a plugin for react-native-video
https://github.com/pavjacko/renative/tree/master/packages/rnv/pluginTemplates/react-native-video
https://github.com/pavjacko/renative/issues/34
I does look like a promising boilerplate for universal apps
I don't have that much time to have a look, but our current code should just about drop-in I believe, although I'm not sure how it's redux
, redux-thunk
, formik
support is. And since it seems to generate the package.json for you I'm not sure how to add an extra package.
Also I can't find anything about the UWP platforms (Xbox One). And the Windows platform might or might not be the UWP microsoft project based.
Also they explicitly use react-native-web
and react-native-video
does not seem to support that so I wonder how they made it work. Did you also test this on the web platform?
I've used redux and redux-thunk with Expo with no problems, and you can add stuff to package.json and install them like any react project. There's an expo snack on the formik readme, so I think that one should be good too.
I haven't seen anything about Xbox/windows app, so that may end up being a con there.
There's a lot of packages that expo has themselves, they have their own video package https://docs.expo.io/versions/latest/sdk/video/
As a suggestion, take a look at https://github.com/pavjacko/renative/
Seems promising for setting up multi-platform build infrastructure.
Have tried it out an could easily build for web and OSX.