Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

airGapped

Overview

AirGapped is an EPITECH project. The goal is to create an offline mobile application that allows us to see events and gain access to more informations on them.

Features

This project has multiple features; including:

  • event saving (favorites)
  • event details
  • access to external application such as the device default phone dialer, thde device default map application or the device default email application.
  • filtering and search system

Installation

It is required to be on laptop to install the application on your mobile device. Flutter will be required to install the application. Due to difficulties linked with iOS compilation, the project does not offer any binary. To install Flutter, refer yourself to its official documentation. The phone must be in developper mode

Android

ADB (Android Debug Bridge) will be required for this installation.

1st step: Linking the phone

Part 1: connecting the phone to the laptop

Before compiling the project let's make sure that the bridge is well established between the phone and the laptop.

For that, run adb devices in your terminal. This will show the list of devices connected to your laptop.

If the list of devices attached isn't empty, you can continue to the next step.

Part 2: Relaunching the adb server

If the list of devices attached is empty in spite of your phone being looked to your laptop throught usb, this means that it isn't detected by the adb server. In that case the best thing to do is restart the adb server.

For that you will need to run adb kill-server followed by adb start-server. This will reset the server, effectively restarting it. Then run adb devices to verify the connection.

2nd step: Building the apk

To install the app on your android device; you will need to first build the apk. For that launch the run.sh script in the root of the project as such ./run.sh. This script will clean flutter dependencies, build the apk and move it at the root of project.

3rd step: Installing the application on your device

Run adb install app-release.apk at the root of the project. This will install the application on your phone. After a few seconds, a notification will appear on your phone asking if you want to install the application. You must accept to install it, otherwise the process will be halted.

IOS

XCode will be required to build the application. Your Apple ID must be logged on your XCode for the installation to work.

1st Step: enable iOS support

Run flutter config --enable-ios. This will allow you to create the ios variant.

2nd Step: Install dependencies

Move into the airGapped directory. Once there run flutter pub get. This will install the bulk of the dependencies.

Once done run cd ios; pod install; cd ... This will allow you to get the missing dependencies.

3rd Step: Installation

Connect your phone to your laptop in usb. Then run flutter run. This will create the release files.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages