Jotform Stories

Stories from the founder of Jotform and other Jotformers…

Follow publication

How to Create an Android App Using React Native

Kenneth
Jotform Stories
Published in
9 min readDec 20, 2016

--

Requirements

Install dependencies

react-native init submissionCounter
cd submissionCounter

Setup Test

react-native run-android

The Fun Part

App entry point
The app.js imports
The App class

Layout

The Statusbar component

Styles

Dimension

Combine Styles

<View style={[styles.container, styles.stage]}>

Custom Components

Formpicker

The Formpicker component
Code inside the renderModalView method
Code inside the Formpicker class
Code inside the renderModalView method

Complete Formpicker class

Respond on Button press

App Test

Final thoughts

--

--

Published in Jotform Stories

Stories from the founder of Jotform and other Jotformers…

Written by Kenneth

Software Developer and a Drone Pilot.

No responses yet

Write a response