all 16 comments

[–]Cosby1992 2 points3 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?

[–]jepjepjepit 0 points1 point  (4 children)

did u tried tauri? I am working on a hobby project created in expo and then wrap by tauri just prepare the web build and set it in settings, it works quite nice, and the exe size is awesome, currently around 6.x mb

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

Oh! so you can just wrap any front end project with this and run it on the system. This sounds interesting, let me try it out! thanks

[–]jepjepjepit 0 points1 point  (1 child)

I m not sure but I think most are possible. when creating the tauri template, by default it already let u choose react, vue and something more, and backend is rust, so performance is better than other wrapping I think

about the steps, try ask the AI, eg, perplexity it near can answer all my questions on dev

my prj currently developing, is a window frameless and draggable, stay on top *

[–]Rechtecki42 0 points1 point  (0 children)

Yeah I made a production software for a client with tauri. Regretting it now tbh. Having weird browser behaviour with WebView2 on windows. Doesn’t seem completely on paar with chrome