Running the app:
From within the root directory after cloning,
This will add all required dependencies from package.json
Alternatively, if you use yarn, run:
To run on iOS:
To run on android:
Current Thoughts About Our Native Project:
Please read and contribute to our WeVoteReactNative Wiki!
We Vote React Native - README Home
This repository contains We Vote's iOS and Android versions built with ReactNative. It is being built based on specifications created and tested in the We Vote WebApp Using data we have gathered in our API Server from Google Civic API, Vote Smart, MapLight, TheUnitedStates.io and the Voting Information Project. We give voters a social way to interact with ballot data.
You can see our current wireframe mockup for a San Francisco ballot here: http://start.wevoteusa.org/
And finally, the current live demo version of the mobile website version is here: https://wevote.me (Our iPhone and Android versions are not available to the public yet.)
Learn about React Native
Some articles to orient you:
Our commentary: If you know ReactJS, the transition to React Native is very logical -- BUT we are finding that all rendering is new code, and we are not able to bring over too much from our wevote/WebApp repo. We believe that we will be able to use the same data Store and Action code.
The React Native documentation is a great place to start.
These are some videos which'll give you a brief overview of React Native.
NOTE: For developing on macOS the environment installation will likely need 10-15gb of drive space. Android SDK and Android Studio installation and emulation will likely require approximately 40gb of drive space.
iOS and Android Specific Instructions
Working with WeVoteReactNative
Contributing to the Project
Please read the following before you start contributing to the project. Thank you!