Application for Futucamp 2018 - Futupolis
- React Native (0.55) + Redux
- iOS and Android support
- Selectors with reselect to access store
- Redux architecture using
ducks. See
/app/concepts
- Data processing in concepts and minimize logic in views
BEFORE JUMPING TO IOS OR ANDROID GUIDE:
npm install
cp env.example.js env.js
and fill in the blank secrets in the filereact-native link
The xcode-project is expecting that you have nvm installed. It can be
reconfigured in Build Phases > Bundle React Native code and images
.
-
cd ios && pod update && pod install
-
Run app with
cd .. && react-native run-ios
-
Or with xcode
open prahappclient.xcworkspace
Note: Use the .xworkspace instead of .xcodeproj!
- Setup Android Environment
- Start emulator or connect your Android device with USB cable
react-native run-android
- Make sure you have latest App Store provisioning profile installed
- Package production script bundle with
npm run release:ios
- In XCode project settings, bump Version field
- Choose
Generic iOS Device
(or a connected iPhone) as build target - Run
Product > Clean
(for paranoia) andProduct > Archive
- Go to
Window > Organizer
, select latest build with correct version and press Upload to App Store
- Copy
whappu-release.keystore
underandroid/app
if it's not there already. - Bump
versionCode
andversionName
inandroid/app/build.gradle
cd android && ./gradlew assembleRelease --no-daemon
- Built .apk is saved to
android/app/build/outputs/apk
-
Backend repository here: https://github.com/palampinen/futupolis-backend
-
Originally based on https://github.com/futurice/prahapp-client
MIT