Live data from Hacker News

Exponent – Build native apps in JS that work across both iOS and Android

getexponent.com

21–30 of 119 posts

Re: Exponent – Build native apps in JS that work across both iOS and Android

#21
post #2

On the one hand I like this, as it adds in more shared functionality across both iOS and Android out of the box (maps for example). On the other hand, I believe this also breaks the ability to add in custom RN modules, which is part of the reason I enjoy it. Would love to see some of this getting folded back into react native core.

One thing we're always working on at Exponent is growing our set of native modules (for context, I work on Exponent). We believe you can build a very large set of apps without needing to write custom native code, and that set grows quickly as more libraries are ported from native to JS when possible and as we add more native modules to Exponent.

Exponent maintains native modules so they continue to work when React Native changes or when Android & iOS change their APIs. In particular, React Native is released every two weeks and we stay on top of the changelog so you don't have to regarding native modules. We also write native code for both platforms in tandem, often by the same engineer, so that we get coherent APIs that cover common features across both platforms and expose platform-specific capabilities neatly. We want Exponent to feel like a coherent project. All of the docs (and code) for Exponent's modules are in one place, and when you download the Exponent app for development you get all of the native modules right off the bat.

As a data point, the Android version of Li.st (https://play.google.com/store/apps/details?id=st.li.listapp) is built on Exponent and was featured by Google in the Play Store. Li.st is currently one of the best examples of how far you can go with Exponent, and React Native for that matter. We're also on Slack (get an invite here: https://slack.getexponent.com) if you want to chat in real time.

Re: Exponent – Build native apps in JS that work across both iOS and Android

#23
post #12

Since native modules can't be used with this, what is the difference between this and, say, Appcelerator Titanium?

I think Appcelerator Titanium is more comparable to React Native than to Exponent. Here's a post by Brent about the differences between Exponent and React Native: http://stackoverflow.com/questions/39170622/what-is-the-diff.... You can join us on Slack if you want to discuss more! https://slack.exponentjs.com/

(I work on Exponent)

Re: Exponent – Build native apps in JS that work across both iOS and Android

#24

Do you abstract the Bluetooth modules? How does it interact with adding something like the Facebook SDK?

Hello! I work on Exponent. We don't support Bluetooth right now but it's high on our priority list. We have docs for Facebook here: https://docs.getexponent.com/versions/latest/sdk/facebook.ht...

Re: Exponent – Build native apps in JS that work across both iOS and Android

#25

Intriguing. But how does exponent make money out of this?

To add on to Jesse's answer, Charlie Cheever (co-founder of Exponent with James Ide) wrote a blog post about this recently: "Exponent is Free" - https://blog.getexponent.com/exponent-is-free-as-in-and-as-i...

Re: Exponent – Build native apps in JS that work across both iOS and Android

#26

This looks cool. But are the builds happening remotely on the Exponent servers, or have I misunderstood that? Edit - brentvatne just answered this: "we handle builds for you when you want to ship to the app store, before that you can just use the Exponent client".

Hey Joe. I work on Exponent. When you're developing you can use Exponent's apps from the App Store/Play Store, so you can get started immediately and let other people test your app easily. Once you're ready to put your app in the stores you start a build using our CLI and we build it on our servers (see https://docs.getexponent.com/versions/latest/guides/building... ). We want to make it easy for people on Windows an…

Thank you so much for your work!

> We want to make it easy for people on Windows and Linux to build apps

Is there a Linux version of XDE? I can't seem to find it.

Re: Exponent – Build native apps in JS that work across both iOS and Android

#27
post #26

Earlier quoted context omitted.

Hey Joe. I work on Exponent. When you're developing you can use Exponent's apps from the App Store/Play Store, so you can get started immediately and let other people test your app easily. Once you're ready to put your app in the stores you start a build using our CLI and we build it on our servers (see https://docs.getexponent.com/versions/latest/guides/building... ). We want to make it easy for people on Windows an…

Thank you so much for your work! > We want to make it easy for people on Windows and Linux to build apps Is there a Linux version of XDE? I can't seem to find it.

We don't have a binary for Linux yet (keep meaning to do it, want to get to it soon) but building from source works! https://github.com/exponentjs/xde#build-from-source

Re: Exponent – Build native apps in JS that work across both iOS and Android

#28

I was following the Pluralsight course but it looks like Exponent had a big upgrade a while back. Are the old binaries used on the course still available somewhere?

One thing that we do that we think is pretty cool is that we figured out a way to include multiple versions of our SDK (and React Native) in a single binary, so stuff you build with old versions will continue to work.

Here are the docs for SDK 10 (based on RN 0.33.0): https://docs.getexponent.com/versions/v10.0.0/index.html

And here are the docs for SDK 9 (based on RN 0.31.0): https://docs.getexponent.com/versions/v9.0.0/index.html

You can use either one.

Also, all our stuff is open source, so just go back and find the old release tags on Github if you want older versions.

Re: Exponent – Build native apps in JS that work across both iOS and Android

#30
post #26

Earlier quoted context omitted.

Thank you so much for your work! > We want to make it easy for people on Windows and Linux to build apps Is there a Linux version of XDE? I can't seem to find it.

We don't have a binary for Linux yet (keep meaning to do it, want to get to it soon) but building from source works! https://github.com/exponentjs/xde#build-from-source

That's even better. Thanks again!
Post reply on HN