Name: wappuapp-client
Owner: Futurice
Description: Android and iOS clients for the Futurice Whappu app!
Created: 2016-03-08 12:25:47.0
Updated: 2018-04-09 11:32:37.0
Pushed: 2018-04-12 12:52:44.0
Homepage: http://wappu.futurice.com/
Size: 48516
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
An event app similar to a festival app, which helps students of TTY(Tampere University of Technology) and Otaniemi to find events and celebrate between 19th April - 1st May.
React Native + Redux
iOS and Android
Whappu 2017 architectural updates
Selectors with reselect to access store
Redux architecture using ducks. See /app/concepts
Data processing in concepts and minimize logic in views
npm run release:ios
Generic iOS Device
(or a connected iPhone) as build targetProduct > Clean
(for paranoia) and Product > Archive
Window > Organizer
, select latest build with correct version and press Upload to App Storewhappu-release.keystore
under android/app
if it's not there already.versionCode
and versionName
in android/app/build.gradle
cd android && ./gradlew assembleRelease --no-daemon
android/app/build/outputs/apk
BEFORE JUMPING TO IOS OR ANDROID GUIDE, FOLLOW THESE GUIDES:
npm install
(you might need to use npm@2 version)npm dedupe
(maybe necessary if you encounter Namespace collision error)cp env.example.js env.js
and fill in the blank secrets in the fileThe 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 install
open wappuapp.xcworkspace
Note: Use the .xworkspace instead of .xcodeproj!
react-native run-android
Try these:
Google: e.g. react native Naming collision detected
almost always provides
useful resources to fix problems
Search react-native issues
Search from the react native component's issues
error: /Users/user/code/wappuapp/wappuapp-client/node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf: No such file or directory
Download the from here and move it to /node_modules/react-native-vector-icons/Fonts
Cmd + R
Make sure:
npm start
)Stuck at the white screen? It may take even minutes to do the initial load..
Try to run npm dedupe
.
At least nvm
causes this. Change Build Phases -> Bundle React Native code and images to:
rt NODE_BINARY=node
.nvm/nvm.sh # add this
use 4 # add this (or whatever node version you are using)
ode_modules/react-native/packager/react-native-xcode.sh
Setup your IP address for debugging https://facebook.github.io/react-native/docs/debugging.html#content
Issue: https://github.com/facebook/react-native/issues/1598 Do this: https://github.com/facebook/react-native/issues/1598#issuecomment-172890857
Found a bug? Can't live without a feature? Submit a pull request, or if you want to get paid, apply for a job at Futurice in Tampere, Helsinki, Stockholm, London, Berlin, or Munich.