abdulmukit98 / abdulmukit98/Ambulance-Track
Geofire Data Retrieve
- 主要語言
- Java
- 星號
- 0
- 分支
- 1
- PR 合併指標
- 30 天內沒有已合併 PR
描述
### At first add local.properties file in project folder
In the app main CusotmerMapsActivity after login the job is to set marker on customer location and find driver near.
* first login as driver so that driver location is stored in firebase database in **driver available** topic
* Then login as customer in an other device and press call an ambulance
This process store customer location in firebase **customer request** topic. The it will find available driver from firebase. and set marker on driver location.
This process is failed to retrive driver location from firebase. I used GeoFire location retrive help from https://firebaseopensource.com/projects/firebase/geofire-android/
### The main problem in GettingDriverLocation() Function That fail to retrive location from geofire firebase.
### Code from line 237 (commented code) ~ 323
Video tutorial I followed
https://www.youtube.com/watch?v=8xR62ra1dlg&list=PLxefhmF0pcPl6gcWvrpTbjGO7rcMWY1jT&index=18
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
The issue is in the GettingDriverLocation() function in CustomerMapsActivity, lines 237-323. Start by reviewing the GeoFire integration and Firebase setup for the 'driver available' topic. Check the data structure and query logic against the GeoFire documentation. Verify the driver location is correctly stored and the GeoFire query radius and center are set properly. A successful fix will retrieve and display the driver's location marker when a customer calls an ambulance.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- firebase
- 領域
- backend, databases, mobile
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100