Giter Site home page Giter Site logo

safeherven / safeherven_app Goto Github PK

View Code? Open in Web Editor NEW
19.0 1.0 7.0 1.54 MB

A mobile application that supports victims of Gender-Nased Violence, harmful practices and other traumatic experiences.

License: Apache License 2.0

Kotlin 0.17% Swift 0.54% Objective-C 0.05% Dart 93.96% HTML 5.29%
flutter dart dartlang health safety chatbot dialogflow dialogflow-chatbot firebase firebase-auth

safeherven_app's Introduction

Safe Herven

Safe Herven is a mobile app for victims/survivors of sexual abuse, GBV, domestic abuse, harmful practices like FGM and child marriage as well as other traumatic events that can lead to anxiety and depression. image

Introduction

Our motivation is the desire to provide a place where victims of gender-based violence can air out their minds in all safety and without being judged considering the fact that some victims do not have anyone in whom they can confide. Also, a lot of victims do not know where they can get the necessary help so we have provided a list of organisations whose goals are to help victims.

Download the app(.apk) here.

Disclaimer: The iOS version isn't available yet but it's coming soon.

Key Features

  • A friendly chat bot if you just need someone to talk to or want to know the next steps or what to do if faced with any of those mentioned issues.

  • A map with common places you'll most likely need to go to and with just one tap, you find the closest place to you.

  • A curated list of non-governmental organisations, foundations and frontline workers with their details. These NGOs are out to help such people but sometimes they don't even know where to go to and which is legit.

image

How to build

Follow this on how to install and set up flutter for mobile development. Clone the repository: git clone https://github.com/safeherven/safeherven_app.git

Requirements

After cloning the repository, run flutter pub get to downloand all the dependencies.

Steps to run

  • Open android studio
  • Get Google Maps API Key
  • Add the API key to your flutter app in the application manifest (android/apps/src/main/AndroidManifest.xml), as follows: git clone
<manifest ...
  <application ...
    <meta-data android:name="com.google.android.geo.API_KEY"
               android:value="YOUR ANDROID API KEY HERE"/>
  • Also add your API key in lib/services/places_service.dart.
  • Create a Firebase android app using the Firebase Console.
  • Generate the google-services.json (on "Project settings" menu) and copy it to the android/app directory.
  • Install the Firebase CLI here.
  • Run dart pub global activate flutterfire_cli in the project.
  • Run flutterfire configure. This will start up a command line interface for you to select the Firebase project you want linked to your Flutter project. After it is complete, a firebase_options.dart file will be generated in your lib folder.
  • Be sure to add your client id in lib/screens/wrapper.dart.
  • Create a DialogFlow agent at the Dialogflow Console.
  • Configure it to enable beta features as well as Auto Speech Adaptation.
  • Go to your Google Cloud Console and search for Dialogflow API in the top toolbar.
  • Follow this codelab at the Google Cloud: Get a service account section in order to get a service account.
  • Once your credentials.json file is downloaded, add it to the root of the assets folder.
  • From your credentials.json file,
  • Run the code on Android studio and view the app on an emulator of your choice or mobile device. You can also run the app from the terminal using: flutter run

TODOs

  • Train the chatbot more to understand a wide variety of intents and make smarter responses.
  • Add safe space forums where survivors/victims of similar trauma can communicate with each other.
  • Add more NGOs to Firestore.
  • Add feature for victims to report cases.
  • Enable users to upvote and rank NGOs based on the number of upvotes.
  • Add psychotherapists to the platform.

A Safe Haven for HER...

Contributors

  • Ida Delphine
  • Hawawou Oumarou
  • Petra Ukeh Agien
  • Tatiana Nsei

safeherven_app's People

Contributors

hawawou avatar idadelveloper avatar petraag avatar tatianansei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

safeherven_app's Issues

Issues regarding Dependencies

Using hardware rendering with device sdk gphone64 x86 64. If you notice graphics artifacts, consider enabling software
rendering with "--enable-software-rendering".
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
Error detected in pubspec.yaml:
No file or variants found for asset: assets/credentials.json.

FAILURE: Build failed with an exception.

  • Where:
    Script 'C:\Flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1159

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'C:\Flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 1

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 7s
Running Gradle task 'assembleDebug'... 8.3s
Exception: Gradle task assembleDebug failed with exit code 1

I AM FACING THIS ISSUE

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.