TL;DR: Example. Expo + Electron is in alpha (Nov 2019). docs = most recent info.
This tutorial will show you how to use React Native, Electron, We...
For further actions, you may consider blocking this person and/or reporting abuse
Thanks for writing this guide!
I tried creating a demo app with it and it works in development mode.
The only problem is that the build doesn't seem to work.
I'm getting this error when compiling in mac:
I used the following command to compile:
yarn electron-webpack && yarn electron-builder --dir -c.compression=store -c.mac.identity=null
There were no errors in the compilation process. My
babel.config.js
looks like:any ideas why this is? does
babel-preset-expo
support global module imports?again, thank you for this. I'll continue trying to figure out what's wrong.
Hi, there.
I'm getting a similar error. I've been trying to fix it by changing the syntax for that line from 'import from ...' to 'require('....')'.
It "worked" in the way that the error moved to the next "import" statement.
Is ES6 not working on the build?
Tried using other babel presets (babel/env, babel-react, etc...). With these ones, not even the building finishes.
Can't find any solution
Any answer on the subject, I have the same problem, a build example would be welcome.
@Wern, I have same issue. Did you find any solutions?
Any luck to create build for electron?
Wow that looks awesome! When you use Expo to make Electron apps you also get an iOS and Android app as well though.
Great post - I featured this on React Native Now newsletter #56
Awesome, thanks so much!
Great stuff. Thanks for sharing Evan. I've done a lot of React, but still haven't touched any of the native stuff, including Expo. Maybe I should start. 😎
Yes it technically can, but simply isn't supported at all at the moment.
really helpful post
i may need to figure out how can i resize the window and make use of electron
Any way to run Expo app without having to download your JS bundle every time?
Yes,are you referring to during production or dev?
Hello, I have problems with the implementation of Redux with this package...
Do you have any idea?
Thank you
React Native desktop is available on Mac and Windows, but these aren't the only OS that exist on this planet. Some people use Linux