Giter Site home page Giter Site logo

uber_clone_with_flutter's Introduction

Uber clone with flutter (rider side)

This is a clone of the famous application Uber, and its done with the flutter frame work, this particular repo, contains the code for the rider side

Don't forget to insert your APIKEY for the project to work

  • insert you Api key for android (android ->> app ->> src ->> main ->> manifest)
  • insert your Api key for Ios (ios ->> runner ->> appdelegate.m)

Authors Information

My name is Santos Enoque, I am a flutter and python developer, for more information please check the links bellow.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

uber_clone_with_flutter's People

Contributors

santos-enoque 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uber_clone_with_flutter's Issues

App Crashes

App Crashes when typing in the text input or when even the text input is highlighted

Hello I have issue building in ios simulator

Roros-Air:ber_clone_with_flutter-master rojak$ flutter run
Running "flutter pub get" in ber_clone_with_flutter-master... 25.4s

Launching lib/main.dart on iPhone Xʀ in debug mode...

Running pod install...
267.1s (!)
Running Xcode build...

Xcode build done. 64.1s
Failed to build iOS app
Error output from Xcode build:

** BUILD FAILED **

Xcode's output:

/Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/
FMDatabase.m:1486:15: warning: 'sqlite3_wal_checkpoint_v2' is only available
on iOS 5.0 or newer [-Wunguarded-availability]
int err = sqlite3_wal_checkpoint_v2(_db, dbName, checkpointMode,
logFrameCount, checkpointCount);
^~~~~~~~~~~~~~~~~~~~~~~~~
In module 'SQLite3' imported from
/Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/
FMDatabase.m:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfor
m/Developer/SDKs/iPhoneSimulator12.4.sdk/usr/include/sqlite3.h:8245:16:
note: 'sqlite3_wal_checkpoint_v2' has been marked as being introduced in iOS
5.0 here, but the deployment target is iOS 4.3.0
SQLITE_API int sqlite3_wal_checkpoint_v2(
^
/Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/
FMDatabase.m:1486:15: note: enclose 'sqlite3_wal_checkpoint_v2' in an
@available check to silence this warning
int err = sqlite3_wal_checkpoint_v2(_db, dbName, checkpointMode,
logFrameCount, checkpointCount);
^~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/
FMDatabaseQueue.m:101:9: warning: 'dispatch_queue_set_specific' is only
available on iOS 5.0 or newer [-Wunguarded-availability]
dispatch_queue_set_specific(_queue, kDispatchQueueSpecificKey,
(__bridge void *)self, NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'Foundation' imported from
/Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/
FMDatabaseQueue.h:9:
In module 'CoreFoundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfor
m/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/Foundatio
n.framework/Headers/Foundation.h:6:
In module 'Dispatch' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfor
m/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/CoreFound
ation.framework/Headers/CFStream.h:20:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfor
m/Developer/SDKs/iPhoneSimulator12.4.sdk/usr/include/dispatch/queue.h:1352:1
: note: 'dispatch_queue_set_specific' has been marked as being introduced in
iOS 5.0 here, but the deployment target is iOS 4.3.0
dispatch_queue_set_specific(dispatch_queue_t queue, const void *key,
^
/Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/
FMDatabaseQueue.m:101:9: note: enclose 'dispatch_queue_set_specific' in an
@available check to silence this warning
dispatch_queue_set_specific(_queue, kDispatchQueueSpecificKey,
(__bridge void *)self, NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/
FMDatabaseQueue.m:184:54: warning: 'dispatch_get_specific' is only available
on iOS 5.0 or newer [-Wunguarded-availability]
FMDatabaseQueue *currentSyncQueue = (__bridge
id)dispatch_get_specific(kDispatchQueueSpecificKey);
^~~~~~~~~~~~~~~~~~~~~
In module 'Foundation' imported from
/Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/
FMDatabaseQueue.h:9:
In module 'CoreFoundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfor
m/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/Foundatio
n.framework/Headers/Foundation.h:6:
In module 'Dispatch' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfor
m/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/CoreFound
ation.framework/Headers/CFStream.h:20:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfor
m/Developer/SDKs/iPhoneSimulator12.4.sdk/usr/include/dispatch/queue.h:1408:1
: note: 'dispatch_get_specific' has been marked as being introduced in iOS
5.0 here, but the deployment target is iOS 4.3.0
dispatch_get_specific(const void *key);
^
/Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/
FMDatabaseQueue.m:184:54: note: enclose 'dispatch_get_specific' in an
@available check to silence this warning
FMDatabaseQueue *currentSyncQueue = (__bridge
id)dispatch_get_specific(kDispatchQueueSpecificKey);
^~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
/Users/rojak/developer/flutter/.pub-cache/hosted/pub.dartlang.org/geoflutter
fire-2.0.3+3/ios/Classes/GeoflutterfirePlugin.m:2:9: fatal error:
'geoflutterfire/geoflutterfire-Swift.h' file not found
#import <geoflutterfire/geoflutterfire-Swift.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Could not build the application for the simulator.
Error launching application on iPhone Xʀ.

Hey, I have tried to run, but failed with the following error..Launching lib/main.dart on iPhone Xʀ in debug mode... Xcode build done. 14.2s Failed to build iOS app Error output from Xcode build: ↳ ** BUILD FAILED ** Xcode's output: ↳ /Users/SimonWong/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/geoflutterfire-2.0.3+3/ios/Classes/GeoflutterfirePlugin.m:2:9: fatal error: 'geoflutterfire/geoflutterfire-Swift.h' file not found #import <geoflutterfire/geoflutterfire-Swift.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. Could not build the application for the simulator. Error launching application on iPhone Xʀ.

flutter has exited unexpectedly:

when I try to run , im getting this error.
Oops; flutter has exited unexpectedly: "Invalid argument(s): Cannot find executable for
C:\Users\hrithik\Desktop\uber_clone_with_flutter-master\android\gradlew.bat.".
A crash report has been written to C:\Users\areohseakaywhy\Desktop\uber_clone_with_flutter-master\flutter_02.log.

please check this

Cannot get `appState.initialPosition`

Running Gradle task 'assembleDebug'...
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
√ Built build\app\outputs\apk\debug\app-debug.apk.
I/flutter (12726): GET USER METHOD RUNNING =========
E/flutter (12726): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter (12726): If you're running an application and need to access the binary messenger before runApp() has been called (for example, during plugin initialization), then you need to explicitly call the WidgetsFlutterBinding.ensureInitialized() first.
E/flutter (12726): If you're running a test, you can call the TestWidgetsFlutterBinding.ensureInitialized() as the first line in your test's main() method to initialize the binding.
E/flutter (12726): #0 defaultBinaryMessenger. (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter (12726): #1 defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter (12726): #2 MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter (12726): #3 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter (12726): #4 LocationPermissions.checkPermissionStatus (package:location_permissions/src/location_permissions.dart:38:30)
E/flutter (12726): #5 Geolocator._getLocationPermission (package:geolocator/geolocator.dart:191:10)
E/flutter (12726): #6 Geolocator.getCurrentPosition (package:geolocator/geolocator.dart:91:47)
E/flutter (12726): #7 AppState._getUserLocation (package:uber_clone/states/app_state.dart:32:10)
E/flutter (12726): #8 new AppState (package:uber_clone/states/app_state.dart:25:5)
E/flutter (12726): #9 main (package:uber_clone/main.dart:8:43)
E/flutter (12726): #10 _runMainZoned.. (dart:ui/hooks.dart:239:25)
E/flutter (12726): #11 _rootRun (dart:async/zone.dart:1126:13)
E/flutter (12726): #12 _CustomZone.run (dart:async/zone.dart:1023:19)
E/flutter (12726): #13 _runZoned (dart:async/zone.dart:1518:10)
E/flutter (12726): #14 runZoned (dart:async/zone.dart:1502:12)
E/flutter (12726): #15 _runMainZoned. (dart:ui/hooks.dart:231:5)
E/flutter (12726): #16 _startIsolate. (dart:isolate-patch/isolate_patch.dart:307:19)
E/flutter (12726): #17 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter (12726):
Screenshot_2020-03-31-11-38-31-45_fcacf24cf1a6253dd7c46eef7910b46a

Issue

Always showing please enable location service! text

Google Distance Matrix API

Hey how can i use distance matrix api to calculate distance between two points i.e origin and destination in flutter.
The user inputs the two points and feeds the api as form keys and distance is displayed to the user

Flutter running error on cocoapods ...??

WARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
export LANG=en_US.UTF-8

[!] Automatically assigning platform `ios` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

What is the error ..means ? Please help

Valid value range is empty: 0

[ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: RangeError (index): Invalid value: Valid value range is empty: 0
E/flutter ( 8073): #0 List.[] (dart:core-patch/growable_array.dart:147:60)
E/flutter ( 8073): #1 GoogleMapsServices.getRouteCoordinates (package:uber_clone/requests/google_maps_requests.dart:11:30)
E/flutter ( 8073):
E/flutter ( 8073): #2 AppState.sendRequest (package:uber_clone/states/app_state.dart:116:46)
E/flutter ( 8073):
E/flutter ( 8073): #3 _MapState.build. (package:uber_clone/screens/home.dart:131:34)
E/flutter ( 8073): #4 EditableTextState._finalizeEditing (package:flutter/src/widgets/editable_text.dart:1255:14)
E/flutter ( 8073): #5 EditableTextState.performAction (package:flutter/src/widgets/editable_text.dart:1158:9)
E/flutter ( 8073): #6 _TextInputClientHandler._handleTextInputInvocation (package:flutter/src/services/text_input.dart:751:36)
E/flutter ( 8073):
E/flutter ( 8073): #7 MethodChannel._handleAsMethodCall (package:flutter/src/services/platform_channel.dart:401:55)
E/flutter ( 8073):
E/flutter ( 8073): #8 MethodChannel.setMethodCallHandler. (package:flutter/src/services/platform_channel.dart:369:54)
E/flutter ( 8073): #9 _DefaultBinaryMessenger.handlePlatformMessage (package:flutter/src/services/binary_messenger.dart:110:33)
E/flutter ( 8073):
E/flutter ( 8073): #10 _invoke3. (dart:ui/hooks.dart:293:15)
E/flutter ( 8073): #11 _rootRun (dart:async/zone.dart:1124:13)
E/flutter ( 8073): #12 _CustomZone.run (dart:async/zone.dart:1021:19)
E/flutter ( 8073): #13 _CustomZone.runGuarded (dart:async/zone.dart:923:7)
E/flutter ( 8073): #14 _invoke3 (dart:ui/hooks.dart:292:10)
E/flutter ( 8073): #15 _dispatchPlatformMessage (dart:ui/hooks.dart:154:5)

Geolocator is not working

Geolocator not found when I am doing pub dev update still error.
What is the code when we use geocoding .Not able to get current position

App crashes.

Hey, i don't know why but my app crashes on start after install cloud_firestore.

location is not loaded

Exception has occurred. FlutterError (ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized. If you're running an application and need to access the binary messenger before runApp() has been called (for example, during plugin initialization), then you need to explicitly call the WidgetsFlutterBinding.ensureInitialized() first. If you're running a test, you can call the TestWidgetsFlutterBinding.ensureInitialized() as the first line in your test's main() method to initialize the binding.)
image

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.