GithubHelp home page GithubHelp logo

michaelfromyeg / georeal Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 0.0 27.14 MB

BeReal, but based on space, not time!

Home Page: https://georeal.tech

License: MIT License

Shell 0.20% Python 17.35% Dockerfile 0.24% Makefile 0.36% Dart 58.43% Kotlin 0.06% Ruby 1.38% Swift 0.82% Objective-C 0.02% CMake 8.51% C++ 11.07% C 0.40% HTML 0.91% Mako 0.24%
android bereal python flask

georeal's Introduction

GeoReal

BeReal, but space-based instead of time.

About

Imagine BeReal. Except, instead of being based on a time of day, it's based on the space you're in! Enter: GeoReal.

Setup custom geo-fences around the globe and get prompted for an impromptu selfie when you stumble into one. See a collection of folks that have stood where you're standing!

Usage

Get the project running.

Client

Android app written in Java.

Server

Flask app written in Python.

georeal's People

Contributors

carlos-georgescu avatar michaelfromyeg avatar oltimaloku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

georeal's Issues

Validate front-end connection to local server

Make sure the two talk to each other.

Endpoints to check.

  • status (on page load; should fail is status != ok)
  • create a geofence
  • file upload (to geofence)
  • get file

Once this is checked, set SERVER_URI based on a is_production-like variable.

GeoSphere Modal: Premature Exit Cancels GeoSphere Creation

Overview:

Currently, if a user exits the modal after initiating the creation process (by pressing the "create geo sphere" button) but before the GeoSphere is fully created, the creation process is unexpectedly cancelled.

Steps to Reproduce:

  • Open the GeoSphere creation modal.
  • Press the "create geo sphere" button to start the GeoSphere creation process.
  • Exit the modal before the GeoSphere creation completes.

Expected Behavior:

The GeoSphere creation process should continue in the background, or the user should be prevented from exiting the modal until the creation process completes.

Actual Behavior:

Exiting the modal prematurely cancels the GeoSphere creation process.

Proposed Solution:

A possible solution is to implement a UI indicator, such as a loading spinner, which appears when the "create geo sphere" button is pressed. This indicator should prevent any further interaction with the modal, including exiting, until the GeoSphere creation process is complete.

Auth navigation

  • Navigate to home router after user is authenticated
  • Can start worrying about auth when we want to implement multiple users

GeoSphere Creation Delay

Overview:

Delay when attempting to create a GeoSphere shortly after starting the application. Specifically, there seems to be an issue where GeoSpheres cannot be created within the first 20-30 seconds following app launch.

Steps to Reproduce:

  • Start the application.
  • Attempt to create a GeoSphere within the first 20-30 seconds of app startup.

Expected Behavior:

GeoSpheres should be creatable immediately after the application starts, without any delay or waiting period.

Actual Behavior:

There is a noticeable delay, approximately 20-30 seconds, during which attempts to create a GeoSphere are unsuccessful. This issue consistently occurs each time the app is started.

Background location fetching

  • Location is only checked when app is opened
  • Implement background location fetching
  • Look into flutter_background_fetch

Improve Location State Management

  • Currently location state is not being managed very effectively
  • Every time I need the location, I request it using the location package
  • A better way to do this could be to store location and maintain its state
  • Then I don't have to access it which takes time
  • This will speed up the request, specifically for the geo sphere page where I am calculating the distances between current location and all geo spheres in my area
  • If the user wants to update their location we can implement a manual update like a pull to refresh action

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.