Updated from 09/2017
You can create an iOS application (and Android at the same time) using React Native + Expo without owning a poppy. You can also run the iOS application in the iOS Expo application when it is developed. (You can even publish it for other people to access, but it will only work in the Expo app). Here is a page from Expo on how to create a standalone application.
Steps from this page:
One : install exp by running npm install -g exp
Two : configure app.json (somewhere along these lines):
{ "expo": { "name": "Your App Name", "icon": "./path/to/your/app-icon.png", "version": "1.0.0", "slug": "your-app-slug", "sdkVersion": "17.0.0", "ios": { "bundleIdentifier": "com.yourcompany.yourappname" }, "android": { "package": "com.yourcompany.yourappname" } } }
Three : run exp packer with exp start
Four : run exp build:android or exp build:ios .
You will be asked to enter some data. For android you can choose 1) Let Expo handle the process! if you don’t have a keystore (or if you don’t know what it is). For iOS, you will need to enter Apple developer credentials. Then you can get a vendor distribution certificate or let it process it.
Five : from time to time you will need to come back and run the exp build:status command to check if your build has been completed. Upon completion, you will be provided with a direct link to the .apk or .ipa .
The only drawback of this approach is that it will not be as native as writing an iOS application in Swift, and you will have to put up with a parade of problems that you may encounter when developing with weakly typed js, npm and these are problems depending on a specific version -other libraries and other materials.
ʜᴏᴛsʟᴏᴡᴎᴇss Sep 03 '17 at 2:53 on 2017-09-03 14:53
source share