App to Praise our Culture
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.
- Auth0 (Google) login
- Feed containing images, text and comments
- Map to show posts and offices
- User profile
- 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
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
Try these:
- Search react-native issues
- Search from the react native component's issues
Make sure:
- React native packager is running (
npm start
) - You have configured React native correctly: https://facebook.github.io/react-native/docs/getting-started.html
- Your mobile phone is connected to same wifi as your computer
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.
-
Backend repository here: https://github.com/futurice/vaskapp-backend
-
Originally based on https://github.com/futurice/prahapp-client