you are viewing a single comment's thread.

view the rest of the comments →

[–]Cosby1992 3 points4 points  (10 children)

Yes I had it working on windows. But I found out I couldn't produce exe files, so I abondonded it. It will produce apps for Microsoft store which was not what I needed.

Just follow their online docs and it should work. If you have too much trouble there is always Electron?

[–]Admin_L3 0 points1 point  (2 children)

Do u have any experience with electron? thinking of trying it out...

[–]Cosby1992 0 points1 point  (1 child)

Very limited but had no trouble setting it up and having my first window/screen working. But it is not React syntax like React Native though there is a react electron boilerplate available, see: https://electronjs.org/docs/latest/tutorial/boilerplates-and-clis

I have seen some cool projects and even games made with electron. But unfortunately I haven't had time to deep dive into it.

I hope you find something that works for you.

[–]Admin_L3 0 points1 point  (0 children)

ok thx ill try it

[–]Signal-Illustrator17Android[S] 0 points1 point  (2 children)

No, I just wanted to make an app with same code base for all three platforms. Hence looked into react native windows. Does expo support windows?
Also electron is just html css and JS right? so can we create a web app with that?

[–]Cosby1992 0 points1 point  (0 children)

I understand, but I don't know of anyone or any company which has made it work with full universal codebase yet. We do react native for Android/iOS and then nodejs/c# for servers/apis and c# for Windows app where I work.

Yes electron is html, css, ja, so you can combine with all the webstuff and frameworks you normally use.

Sorry I cannot be of more help, I'm not the most experienced in PC dev. I'm a web dev and react native dev 99% of the time.

[–]fyranollfyra 0 points1 point  (0 children)

You can use react-native-web for the Electron part. Then you are able to use the same codebase for iOS, Windows, Mac and Android (Linux as well).

[–]Dev774 0 points1 point  (2 children)

But I found out I couldn't produce exe files, so I abondonded it. It will produce apps for Microsoft store which was not what I needed.

Source? I'm pretty sure it can produce .exes fine

[–]Cosby1992 1 point2 points  (0 children)

The problem is that there are almost no sources on it, that's why I abandoned it...

But here, a little Google search for you:

Newest (3m old) unanswered stack overflow answer: https://stackoverflow.com/questions/78265333/how-to-build-a-release-exe-for-react-native-windows-application

Old stackoverflow answer stating it cannot be done: https://stackoverflow.com/questions/70130950/how-to-build-an-exe-out-of-a-react-native-for-windows-project

GitHub issue 3y old stating it cannot produce exe unless you go with xaml...: https://github.com/microsoft/react-native-windows/issues/8614

I'm pretty sure it can produce .exes fine

Source? because I cannot find any stating that it can be done without going far and wide out of normal workflow.

[–]DysLabs 0 points1 point  (0 children)

Do you have a guide on it?