Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
ios
 
 
js
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

CampusApp

DHBW Lörrach Campus App

Android: https://play.google.com/store/apps/details?id=de.dhbwloe.loerrach.campusapp

iOS: https://itunes.apple.com/de/app/dhbw-lorrach-campus-app/id1106917276

Setup

Assuming that a full React Native environment (Campus App does is not Expo based) is already installed (see the React Native CLI section in the React Native Docs), follow these steps:

  1. clone project with git (git clone git@github.com:DHBWLoerrach/CampusApp.git)
  2. in terminal, change to CampusApp directory (cd CampusApp)
  3. install npm packages (preferably by executing yarnnpm install might also work)
  4. copy env.example.js to env.js (here you might need to fill in some data to get enable all features — get in contact with the maintainer of this repository)

Launch app in iOS simulator (Mac only)

XCode needs to be installed.

Open terminal and cd into CampusApp directory.

cd ios and install dependencies with pod install (for this you'll need CocoaPods)

Start the React Native Packager: react-native start

Now launch Campus App in an iOS simulator: react-native run-ios

Launch app in Android emulator

Please refer to the React Native CLI section in the React Native Docs

Launch app on Android device

See also React Native Docs

Make sure Android device is in debug mode (enable developer options) and connect device via USB.

To access the development server from the Android device you need to use 'adb reverse':

adb -d reverse tcp:8081 tcp:8081

Open terminal/console, cd into CampusApp directory and run

Start the React Native Packager: react-native start

Now launch Campus App in an Android emulator: react-native run-android

Live Reload and Debugging

Please refer to the React Native documentation to learn about live/hot reloading and debugging options (https://reactnative.dev/docs/debugging.html)

License

BSD 3-clause

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.