closed
MightyTaxi - notification
When I request a taxi driver, a notification is sent to the driver, but no options appear to accept the request. The registration in onesignal and firebase has been successful.
Asked 1 year ago on August 22, 2023 11:07 AM Comments 8 times
Viktoria replied 1 year ago on August 24, 2023 12:38 PM
Hello Mohammad Suleiman,
Generate a new rider/driver and test again.
Thank you:)
Mohammad Suleiman replied 1 year ago on August 24, 2023 11:35 AM
could you please explain more about the ' new user ' ? what exactly do you mean by that :)
regards
Viktoria replied 1 year ago on August 24, 2023 11:33 AM
Hello Mohammad Suleiman,
Please check with the new user (driver/Rider).
Thank you:)
Mohammad Suleiman replied 1 year ago on August 24, 2023 11:09 AM
Live chat is not working properly, when the driver (or rider ) sending a message, its appearing as notification, but when the notification is pressed, it's taking me to the livechat but only my msgs are displayed and vice versa, the error showing is this 'package cloud_firestore/src/document_reference.dart failed line 121 pos 7 collectionpath.isnotempty
Viktoria replied 1 year ago on August 23, 2023 5:28 AM
Hello Mohammad Suleiman,
Please check once mqtt in .env file
Thank you:)
Mohammad Suleiman replied 1 year ago on August 22, 2023 2:30 PM
The Error is that the driver_id after I press the ride notification is null and most values are also null, this is the step1-- logs ***I/flutter (23146): Step1--{data: {amount: null, base_fare: null, cancel_by: null, cancelation_charges: null, coupon: null, created_at: 2023-08-22T14:26:39.000000Z, datetime: 2023-08-22 17:26:40, distance: null, driver_id: null, driver_name: null, driver_profile_image: https://admin.jazeerataxi.com/images/user/1.jpg, duration: null, end_address: No 35, Vital Village Rd, Erbil, Iraq, end_latitude: 36.1981871, end_longitude: 43.9706457, end_time: null, id: 39, is_driver_rated: 0, is_rider_rated: 0, is_schedule: 0, max_time_for_find_driver_for_ride_request: null, minimum_fare: null, otp: null, payment_id: null, payment_status: pending, payment_type: cash, per_distance: null, per_minute_drive: null, reason: null, ride_attempt: 0, rider_id: 7, rider_name: Omar Aissa, rider_profile_image: https://admin.jazeerataxi.com/images/user/1.jpg, seat_count: 5, service_id: 1, start_address: No 35, , Erbil, Erbil Governorate , Iraq, start_latitude: 36.1984047, start_longitude: 43.9705436, start_time: null, status: new_ride_requested, subtotal:***
Mohammad Suleiman replied 1 year ago on August 22, 2023 1:02 PM
"MQTT is added by default, it's the public key, could you kindly help me with the problem that I'm facing, which is that the notification is taking me no where, and the driver is completely empty like nothing happened after I click on 'rider requested a ride' "
Viktoria replied 1 year ago on August 22, 2023 11:47 AM
Hello Mohammad Suleiman,
Have you set up mqtt?
Thank you:)