Live data from Hacker News

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

getexponent.com

11–20 of 119 posts

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

#13
post #10

Hmm, they say you can buy an Exponent app through the App Store, and then you can push updates to it through them, and they show up the "next time the user opens the app without having to do through the App Store"? I don't think downloading scripting or native code that changes how an app behaves from outside sources has been allowed on the App Store, so what gives?

iirc JS changes that don't modify app behavior are allowed to be updated on the fly

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

#14

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 and Linux to build apps so don't require you to use Xcode or Android Studio. If you don't want the builds to happen on our servers our clients are open source so you can do it yourself if you want (https://github.com/exponentjs/exponent).

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

#15
post #10

Hmm, they say you can buy an Exponent app through the App Store, and then you can push updates to it through them, and they show up the "next time the user opens the app without having to do through the App Store"? I don't think downloading scripting or native code that changes how an app behaves from outside sources has been allowed on the App Store, so what gives?

A couple of years ago Apple changed the iOS developer terms to say it's OK to download and run JavaScript as long as it's run on the built-in WebKit or JavaScriptCore engine (section 3.3.2 if you're curious). Exponent uses the built-in JavaScriptCore on iOS.

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

#16
Hi all! Thanks for the post! Here are some links to help you check out Exponent and get any idea what it can do -- all you need to do is download the Exponent client from the app / play store and you can open any of these:

- Pocketgear - a pokedex app: https://getexponent.com/@rncommunity/pocketgear

- A fun little app I've been working on for a few days for an upcoming talk: https://getexponent.com/@community/growler-prowler

- An IP Subnet Calculator: https://getexponent.com/@levic92/ipcalc

- The navigation/routing library that we recommend to be used with Exponent: https://getexponent.com/@community/ex-navigation-example

- A work-in-progress showcase of animations that you can do with React Native / Exponent: https://getexponent.com/@community/animations-showcase

- Shared element transitions are possible too: https://getexponent.com/@janic/shared-elements

- A showcase of some of the components that you can use with Exponent: https://getexponent.com/@notbrent/native-component-list (tap out the ^ icon in the top right)

- "Floaty Plane" - a simple game: http://getexponent.com/@exponent/floatyplane

- An experiment to re-create basic Wunderlist UI: https://getexponent.com/@mastermo/wunderlist

- A pre-launch version of "React Native Playground" in Exponent: https://getexponent.com/@rnplay/rnplay (just sign in as a guest and go to the Explore tab)

- An image gallery example: https://getexponent.com/@community/image-gallery-example

- A Pomodoro app UI: https://getexponent.com/@exponent/pomodoro

- A tab view component demo: http://exp.host/@rncommunity/react-native-tab-view-demos

The largest app on our platform right now is li.st for Android: https://play.google.com/store/apps/details?id=st.li.listapp&...

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

#20

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

Hey! I work on Exponent. Basically, we don't make money right now. Our plan is to eventually help developers make money and take some cut of that. We're open source so you'll never be locked in if we start doing anything you don't agree with. We talk about it a little more at https://docs.getexponent.com/versions/latest/introduction/fa...
Post reply on HN