Extremely hacked together demo of Marzipan + React Native
Switch branches/tags
Nothing to show
Clone or download
notjosh Merge pull request #1 from radex/master
Fixes build + improve readme
Latest commit 4909a25 Jun 25, 2018
Permalink
Failed to load latest commit information.
RNTester haaaaaaahahahah RNTester works, amazing Jun 9, 2018
android init Jun 7, 2018
ios Explicitly force the right build order Jun 14, 2018
node_modules Fix react-native - part 2 Jun 14, 2018
.babelrc init Jun 7, 2018
.buckconfig init Jun 7, 2018
.flowconfig init Jun 7, 2018
.gitattributes init Jun 7, 2018
.gitignore Fix missing node_modules Jun 14, 2018
.watchmanconfig init Jun 7, 2018
App.js init Jun 7, 2018
LICENSE.md LICENSE and README Jun 7, 2018
README.md Update README.md Jun 14, 2018
app.json init Jun 7, 2018
index.js init Jun 7, 2018
package-lock.json Fix missing node_modules Jun 14, 2018
package.json missing node_modules Jun 14, 2018
yarn.lock init Jun 7, 2018

README.md

Marzipants

Here's a proof-of-concept that React Native can work* (*lol) under Marzipan.

But, like, it's proof that we don't need Electron, right? 💪

Running Marzipan

Check out biscuitehh/MarzipanPlatter for a nice guide on getting Marzipan running.

It's Reasonably Good

It's surprising how well it's working. Besides the obvious mobile-specific things, it's running abouuuut as well as tvOS builds of React Native.

I wouldn't recommend using it. Ever. C'mon now.

How It Looks

I have some screenshots* of the RNTester sample application from React Native.

(*photos, lols. My UI server dies hard the second my Touchbar becomes active, which my screenshot shortcut does. Ehhh)

This Repo

I've committed everything. EVERYTHING. node_modules, especially, because that's where the bulk of the changes were.

How to run

  • Follow all the MarzipanPlatter instructions first
  • Install node if you don't have it yet (brew install node)
  • Open the Xcode project, run the MarzipantsMacSwift target, and you too have an unstable UI server and a poorly rendered app!
  • If the app fails to compile, try building the ReactMac scheme first, and only then MarzipantsMacSwift
  • Instead of running from Xcode directly, you can build the app from Xcode, and then:
  • Run react-native server: npm install -g react-native; react-native start
  • Find in Xcode the built app (in Products group, find MarzipantsMacSwift.app -> Open in Finder), copy path to it
  • Run the built app via CLI: CFMZEnabled=1 open path-to-the-MarzipantsMacSwift.app
  • If you open some screen you shouldn't have and you keep getting the red screen at launch, delete ~/Library/Containers/com.notjosh.MarzipantsMacSwift