GithubHelp home page GithubHelp logo

uber-like-cab-service's Introduction

Uber Like Cab Service

This project is an Uber like Android app with php backend. It allows you to book the nearest available cab. Driver app is also present in the repo along with the server code.

Prerequisites

  1. Android API key - https://cloud.google.com/docs/authentication/api-keys#api_key_restrictions
  2. Google Maps API key - https://developers.google.com/places/android-sdk/get-api-key#restrict-key
  3. OneSignal API key - https://documentation.onesignal.com/docs/accounts-and-keys

STEP 1

git clone https://github.com/AnupKumarPanwar/Uber-Like-Cab-Service.git

STEP 2

  1. Open the User App in Android Studio.
  2. Put your GOOGLE_MAPS_API_KEY and ANDROID_API_KEY in strings.xml.
  3. Repeat the same process in Driver App.
  4. In Driver App, also replace ONE_SIGNAL_APP_ID in build.gradle (module:app) with your id.

STEP 3

  1. Deploy the php server.
  2. Open database.sql and update line number 20 i.e.,
-- Database: `id11748254_nearcabs`
  1. Import the database.sql file in MySQL.
  2. Replace the network call urls in the Android App code with your server url.

Note: Check this repo for PlacePicker related issues https://github.com/rtchagas/pingplacepicker

uber-like-cab-service's People

Contributors

anupkumarpanwar avatar

Stargazers

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

Watchers

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

uber-like-cab-service's Issues

Book cab error

hello,

For customer when i provide source and destination and click book it updates rides table but on app side it just shows processing..

07-18 10:58:51.674 2828-2828/com.google.android.setupwizard I/SetupWizard: [PlayStoreNotifications] Attempting to register as listener using GooglePlayNotificationHelper
[GooglePlaySetupHelperV2] Registering notification receiver
[GooglePlaySetupHelperV2] Previous connection failed to bind. Rebinding
07-18 10:58:51.676 2017-2781/system_process W/ActivityManager: Unable to start service Intent { act=com.android.vending.setup.IPlaySetupServiceV2.BIND pkg=com.android.vending } U=0: not found
07-18 10:58:51.676 2828-2828/com.google.android.setupwizard E/SetupWizard: [GooglePlaySetupHelperV2] bindService failed

Can you please provide information related,

  1. Google map / services
  2. Firebase
  3. onesignal.com

Thanks,

intent must not be null

Failure delivering result ResultInfo{who=null, request=2, result=2, data=null} to activity <- Getting this error when Places AutoComplete runs. User App destination place picker closes immediately after launch. How to fix it?

Trying to get in touch regarding a security issue

Hey there!

I'd like to report a security issue but cannot find contact instructions on your repository.

If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.

Thank you for your consideration, and I look forward to hearing from you!

(cc @huntr-helper)

Error:Failed to resolve:

Getting Error: Failed to resolve: com.google.android.gms:play-services-ads-identifier:12.0.1
tried many solutions from stackoverflow, but still getting that error? Is there any possible answer of fix for this?

Issue With The PHP APis

Sir, can you please upload the latest working PHP APIs files for this complete module including the driver and customer app.

Map Not detecting

Hello,
After successfull Login,
From and where location is not working properly .
PLease guide me for successfull Output.

map problem

unfortunately , map has stopped
this error shows for destination location

Cabs table population

Can you please guide us how exactly the work flow is?
What happens after driver login and customer click book cab functionality?
I am not able to find corresponding php API and code for populating cabs table.

does not operate

successfully compiled or installed on phone but driver does not get ride when user place the source and destination location.
moreover when i select destination location it does not update the destination textview .it remains empty

Database

Can u please upload the database for this project?

I want talk to you

Dear Anup,

I wana talk to you ASAP. Could you please give me your valuable time. my contact number is +91 9216058727

Looking forward your reply

Regards
Brijesh

Unable to Search

App when installed in mobile after all development changes like firebase, google api configuration, doesnt save driver or customer info, or when clicked google search, the container just comes and goes down without proper search functionality?Can u let me know the fix?also if we search and if driver enables "working" , it will show drivers available?

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.