Skip to content

The Open e-Mobility Charging Station management mobile React-Native application (check also ev-server and ev-dashboard)

License

Notifications You must be signed in to change notification settings

sap-labs-france/ev-mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drawing

Open e-Mobility React-Native Mobile App

Summary

This application is the Electric Vehicle Charging Station (EVSE) mobile application for Android and iOS.

It's linked to the Open e-Mobility backend: https://github.com/sap-labs-france/ev-server

App Stores

Google Play

Apple Store

Contact the author Serge FABIANO

NPM and Cocoapods

The project now uses npm 8.x and cocoapods 1.11.2

Installation

  • Install NodeJS: https://nodejs.org/ (install the LTS version)
  • Install Java SE Development Kit 8
  • Install React Native: https://facebook.github.io/react-native/
    npm install -g react-native-cli
    
  • Install Android Studio: https://developer.android.com/studio/
    • Ensure Android SDK Platform 28 and Intel x86 Atom_64 System Image are checked in the SDK manager.
    • Windows:
      • Add user environment variable: ANDROID_HOME=C:\Users\YOUR_USERNAME\AppData\Local\Android\Sdk
      • Add C:\Users\YOUR_USERNAME\AppData\Local\Android\Sdk\platform-tools to user paths
    • OSX/*nix:
      • Add to your shell profile:
      export ANDROID_HOME=$HOME/Library/Android/sdk
      export PATH=$PATH:$ANDROID_HOME/emulator
      export PATH=$PATH:$ANDROID_HOME/tools
      export PATH=$PATH:$ANDROID_HOME/tools/bin
      export PATH=$PATH:$ANDROID_HOME/platform-tools
  • Install Xcode: https://developer.apple.com/xcode/
  • Clone this GitHub project
  • Go into the ev-mobile directory and run npm install or yarn install

NOTE:

choco install -y nodejs-lts jdk8 androidstudio
brew install node openjdk cocoapods react-native-cli watchman android-studio

Running the application on a virtual device

Open a terminal in the ev-mobile directory

  • Install CocoaPods on Mac OSX:

    npm run pod:install
  • Run on Android:

    npm run build:prepare
    npm run android
  • Run on iOS:

    npm run build:prepare
    npm run ios

License

This file and all other files in this repository are licensed under the Apache Software License, v.2 and copyrighted under the copyright in NOTICE file, except as noted otherwise in the LICENSE file.

Please note that the mobile application can contain other software which may be licensed under different licenses.