Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

futurice/vaskapp

Repository files navigation

🙏🙏 Vaskapp 🙏🙏

App to Praise our Culture

Vask_

When the rich and spoiled youth of Stureplan in Stockholm, Sweden were forbidden to spray champagne on each other while they were in a bar or club as a way to show everyone around them how much money they could afford to throw away for no good reason, they invented "vaskning" or "att vaska” Basically it means that you order two expensive bottles of champagne (or any other expensive beverage, but champagne has the highest impact factor), but you tell the bartender to pour one of the bottles in the sink (sink= vask in swedish). This sends a clear signal to the people around you that you are the shit and girls will magically be drawn towards you.

Features:

  • Auth0 (Google) login
  • Feed containing images, text and comments
  • Map to show posts and offices
  • User profile

Architecture

  • React Native (0.44) + 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

Local development

BEFORE JUMPING TO IOS OR ANDROID GUIDE:

  • npm install
  • cp env.example.js env.js and fill in the blank secrets in the file
  • react-native link

iOS

The xcode-project is expecting that you have nvm installed. It can be reconfigured in Build Phases > Bundle React Native code and images.

  • Install Cocoapods

  • 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!

Android

Release

iOS

  • 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) and Product > Archive
  • Go to Window > Organizer, select latest build with correct version and press Upload to App Store

Android

  • Copy whappu-release.keystore under android/app if it's not there already.
  • Bump versionCode and versionName in android/app/build.gradle
  • cd android && ./gradlew assembleRelease --no-daemon
  • Built .apk is saved to android/app/build/outputs/apk

Common problems

Try these:

Could not connect to development server

Make sure:

Contributing

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.

Other Repositories