Skip to content

S488U/su_scanner

Repository files navigation

SU Scanner

Setup Instructions

Clone the Repository:

git clone https://github.com/S488U/su_scanner.git

Prerequisites:

Emulator Setup (Optional):

To run the app on an emulator, ensure that ADB, SDK Manager, and NDK are properly configured. For the latest version of react-native-screens, NDK v29 is recommended for smoother performance.

Running on Android Devices:

To run the app on an Android device:

  1. Enable USB Debugging in Developer Mode:
    • Go to SettingsAbout Phone → Tap Build Number 7 times to unlock Developer Mode.
    • Enable USB Debugging in Developer Options.

Installing Packages:

  1. Open the project folder:
cd su_scanner
  1. Install dependencies:
npm install

Running the Application:

Ensure all project dependencies are properly set up by running the following command:

npx react-native doctor

Once everything is configured correctly, you can start the application:

npx react-native run-android

Note: If the app doesn't load completely after installing packages, stop the server and rerun the application.


Handling Build Cache Issues:

If some functions aren't working as expected, follow these steps:

  1. Navigate to the android folder:
cd android
  1. Run the command to clean the build cache:
gradlew clean

This will remove cached builds. Afterward, rerun the project with:

npx react-native run-android

About

SU Scanner - A ticket validation React Native app for Srinivas University Onam 2024-25. Built by Srinivas University - ICIS Department.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors