Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

simde-utc/payutc-mobile

Repository files navigation

PayUTC Mobile Application

payutc-icon

PayUTC is an individual cashless wallet available for all members of the University of Technology of Compiègne and its partner schools. With this app, you will be able to view your balance, refill your account on a securised platform and transfer money to others members. It is also possible to check your history, get personalized stats on your purchases and to lock your badge for increased safety.

Development began in July 2019. The app is developed for both Android and iOS, thanks to React Native.

The app is available in French, English and Chinese.

iOS version

connect-screen-ios home-screen-ios transfer-screen-ios stats-screen-ios

Android version

connect-screen-android home-screen-android transfer-screen-android stats-screen-android

Installation

  • Install expo-cli with the following command: npm install -g expo-cli
  • Install JavaScript dependencies: npm install

Run with Expo

  • Run expo for Android: npm run android
  • Run expo for iOS: npm run ios

Build on a device

iOS

  • iOS build requires Xcode. In order to use Xcode, you should update your pods using theses commands:
    • cd ios
    • pod install
  • And then, open PayUTC.xcworkspace in Xcode and build the app.

Develop

  • We use the workflow gitflow as described here but without the release branch. It means:
    • All Pull Requests (PR) are merged into the branch develop.
    • From develop we release versions on master.
    • The branches are named as following:
      • feature/<issue shortname> for enhancements.
      • fix/<issue shortname> for bug fixes.
      • hot/<issue shortname> for hot bug fixes (Ex: bug affecting security on production).
  • Respect the JS linter.
  • Before pushing your code run npm run test. The linter will check the code and the tests we built will run. Correct possible errors and push.
  • Finally don't hesitate to ask questions and enjoy!

License

GNU General Public License v3.0