GithubHelp home page GithubHelp logo

bagasstrongman / boldo-mobile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ihub-pti/boldo-mobile

0.0 1.0 0.0 8.08 MB

Flutter based mobile application (iOS and Android) for Boldo (Patients).

License: GNU General Public License v3.0

Ruby 0.23% Objective-C 0.01% Java 0.01% Dart 99.73% Swift 0.03%

boldo-mobile's Introduction

Boldo - Mobile

Boldo can be found in any Paraguayan household. It is a magic team that can calm all kind of stomache ache.

This is the flutter based native application (iOs and Android) for Boldo - a telemedicine solution for doctors and patients. The mobile app is specifically for patients.

Getting Started

  1. This project has the following dependencies:

    • flutter (latest version)
  2. Install dependencies: flutter pub get (normally happens automatically)

  3. Create a .env file in the project's root folder and add these contents:

    # ###################### Amientes locales ######################
    
    # ###################### Android ######################
    # SOCKETS_ADDRESS = http://10.0.2.2:8000
    # SERVER_ADDRESS = http://10.0.2.2:8008
    # KEYCLOAK_REALM_ADDRESS = http://10.0.2.2:8080/auth/realms/iHub
    
    # ######################## iOs ########################
    # SOCKETS_ADDRESS = http://localhost:8000
    # SERVER_ADDRESS = http://localhost:8008
    # KEYCLOAK_REALM_ADDRESS = http://localhost:8080/auth/realms/iHub
    
    # ###################### Ambientes online ######################
    
    # ###################### SENTRY global para todos los entornos online ##########
    # SENTRY_DSN=ASK DEVELOPERS FOR KEY
    
    # ######################## dev online 01/03/2022 ########################
    # SOCKETS_ADDRESS = https://boldo-dev.pti.org.py/
    # SERVER_ADDRESS = https://boldo-dev.pti.org.py/api 
    # HEALTH_PTI_API = https://sso-dev.pti.org.py/api 
    # KEYCLOAK_REALM_ADDRESS = https://sso-dev.pti.org.py/auth/realms/iHub
    
    # ######################## Test online 01/03/2022 ########################
    SOCKETS_ADDRESS = https://boldo-test.pti.org.py/
    SERVER_ADDRESS = https://boldo-test.pti.org.py/api
    HEALTH_PTI_API = https://sso-test2.pti.org.py/api/
    KEYCLOAK_REALM_ADDRESS = https://sso-test2.pti.org.py/auth/realms/iHub
    
    # ######################## Prod online 01/03/2022 ########################
    # SOCKETS_ADDRESS = https://bol.do 
    # SERVER_ADDRESS = https://bol.do/api 
    # HEALTH_PTI_API = https://sso.bol.do/api 
    # KEYCLOAK_REALM_ADDRESS = https://sso.bol.do/auth/realms/iHub
    

    Note: Uncomment the Android secion in case you want to run it on an Android and you have the servers running on localhost.

  4. flutter run - to start the app on an available device

Note: You can check the availability of connected devices by running flutter doctor.

Building the app

 flutter build apk --split-per-abi \
 --dart-define=SOCKETS_ADDRESS=https://sockets.boldo.penguin.software \
 --dart-define=SERVER_ADDRESS=https://api.boldo.penguin.software \
 --dart-define=KEYCLOAK_REALM_ADDRESS=https://sso-test.pti.org.py/auth/realms/iHub \
 --dart-define=SENTRY_DSN=ASK DEVELOPERS FOR KEY

Known issues

The webRTC and chatty libraries causes a lot of unnecessary comments. To disable them you can add !org.webrtc,!I/chatty as a filter in your VSCode debug console. To ignore even more, add those as well !E/CameraCaptureSession,!EGL_emulation,!FlutterWebRTCPlugin,!HostConnection.

Supported Platforms

To allow as many people as possible access to health services, this applications aims to run also on old devices. Currently we support the following minmal platform versions:

  • iOS: 10
  • Android: 5.0 (Lollipop)

Contributing

The project is currently under heavy development but contributors are welcome. For bugs or feature requests or eventual contributions, just open an issue. Contribution guidelines will be available shortly.

Authors and License

This project was created as part of the iHub COVID-19 project in collaboration between Penguin Academy and PTI (Parque Tecnológico Itaipu Paraguay).

This project is licensed under GPL v3

boldo-mobile's People

Contributors

everfgmolinas avatar elias7991 avatar joelepping avatar everfgmolinasfpuna avatar santiracca avatar pa1nd avatar zommerberg avatar rbenitez94 avatar

Watchers

 avatar

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.