Code Monkey home page Code Monkey logo

buntiappmobiletest's People

Contributors

martinmelo97 avatar yagelsalazar avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

yagelsalazar

buntiappmobiletest's Issues

Create Main Activity

The main Activity is where the user logged in looks when it enter into the app. In this activity the user can request a taxi.

After user creation, save it's info on the Firestore Database

After the user was created into the Firebase Authentication, we need to store into the Firestore Database the info of the user (Nombre, Email, Teléfono and UID). The UID is the id auto-generated by Firebase when a user is created.

First ready about non-relational databases, collections, documents.
After that, read how to use Firestore DB on Android.

Resources: https://proandroiddev.com/firebase-android-series-firestore-17e8951c574e

Collection name: users
The UID of the User, need to be the doc name, and into that doc we'll have the info about the user.

Main activity functionality

This activity is dummy on functionality. When the user clicks on Buscar Taxi you only need to redirect to another activity.

Send NUM variable

As @UlisesGomezDW request on Slack, we need to send the num variable into the object that we store on Firestore DB.

num: year + month + day + hour + minute + second

Example: 20197281291 -> 2019-7-28-1-29-1

If you have some question, ask @UlisesGomezDW ;)

Request Localization Functionality

In this activity, when the user click on the button, you need to ask to the user to allow us to use it localization. If he denies, send a dialog error saying that he couldn't use the app if it cannot access the use of localization. If he accepts, redirect to Method Payment Activity.

Method Payment Functionality and Firebase Database insertion

The user will select an option to pay. When he select this option, we need to to the following:

  • Send to Firebase Firestore Database into a collection called "pedidos" the next object:
  1. Latitude
  2. Longitude
  3. Payment Method
  4. User Reference (we need to save this as a Firebase ref to another doc in another collection)

If the database insertion is ok, show a message to the user saying "Tu solicitud ha sido aceptada, por favor espera a que uno de nuestros taxis la autorice".

Check if user is logged in

Firebase has a method which check if a user is logged on the app or not. Read about that method and do the following:

If the user is logged in redirect it to another Activity
If not, redirect to login

Login Screen UI

Based on the mockup: https://drive.google.com/file/d/1r3sfr9sNV5kZVoxxiMonVHEvfqqRYHiv/view?usp=sharing, create the UI using Android Studio in the Design Mode.

All the view used (TextViews, InputText, etc) Needs to have and id unique and human-readable (example: If we have a InputText for Email, the InputText must have an id InputEmail.
The id of the views needs to have a Camel Case format. (Read about it)

Comment in this issue all the views used in the UI and its id

Improve UI

Looks like the inputs of Register and Login are in the top of the screen. Look at @Emily-Garcia activities and improve the UI in all the activities (Login and Register first)

After payment method is selected, wait for admin response.

Right now, when the user select a payment method, the "Pago Satisfactorio" activity is showed. The idea is have another activity before "Pago Satisfactorio" where the user can see it's actual location and tell him "Tu pedido ha sido solicitado, por favor espera unos minutos".

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.