Skip to content
Extremely hacked together demo of Marzipan + React Native
Objective-C JavaScript Other
Branch: master
Clone or download
notjosh Merge pull request #1 from radex/master
Fixes build + improve readme
Latest commit 4909a25 Jun 25, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
RNTester haaaaaaahahahah RNTester works, amazing Jun 9, 2018
android
ios
node_modules
.babelrc init Jun 7, 2018
.buckconfig
.flowconfig init Jun 7, 2018
.gitattributes init Jun 7, 2018
.gitignore
.watchmanconfig init Jun 7, 2018
App.js
LICENSE.md LICENSE and README Jun 7, 2018
README.md Update README.md Jun 14, 2018
app.json
index.js
package-lock.json Fix missing node_modules Jun 14, 2018
package.json
yarn.lock

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
You can’t perform that action at this time.