joeyking
New member
- Jul 10, 2022
- 8
- 3
- 3
Thank you very much man! worked.open file .env
APP_ENV=production
save
Thank you very much man! worked.open file .env
APP_ENV=production
save
Is anyone already using the taxi service without problems?
I've set everything up and the system seems to work without errors, I've added a vehicle for the driver successfully, but when trying to place an order via the customer app I don't see the driver's vehicle icon nearby, the driver is online but doesn't receive any notification during the request and nothing happens. Only after the order is canceled in the customer's app does the driver receive a notification saying that the order has not received any updates and will be released for another driver to accept.
Has anyone experienced this problem?
E/AndroidRuntime( 9545): java.lang.IncompatibleClassChangeError: Found interface com.google.android.gms.location.FusedLocationProviderClient, but class was expected (declaration of 'com.google.android.gms.location.FusedLocationProviderClient' appears in /data/app/~~uYsTH-L2soF9g1g5hdD0EA==/online.edentech.fuodz-taz4dVjFdz72QWHXo5aDzA==/base.apk!classes6.dex)
E/AndroidRuntime( 9545): at com.lyokone.location.FlutterLocation.createLocationCallback(FlutterLocation.java:219)
E/AndroidRuntime( 9545): at com.lyokone.location.FlutterLocation.changeSettings(FlutterLocation.java:197)
E/AndroidRuntime( 9545): at com.lyokone.location.MethodCallHandlerImpl.onChangeSettings(MethodCallHandlerImpl.java:106)
E/AndroidRuntime( 9545): at com.lyokone.location.MethodCallHandlerImpl.onMethodCall(MethodCallHandlerImpl.java:40)
E/AndroidRuntime( 9545): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:258)
E/AndroidRuntime( 9545): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
E/AndroidRuntime( 9545): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$DartMessenger(DartMessenger.java:322)
E/AndroidRuntime( 9545): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/AndroidRuntime( 9545): at android.os.Handler.handleCallback(Handler.java:942)
E/AndroidRuntime( 9545): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 9545): at android.os.Looper.loopOnce(Looper.java:201)
E/AndroidRuntime( 9545): at android.os.Looper.loop(Looper.java:288)
E/AndroidRuntime( 9545): at android.app.ActivityThread.main(ActivityThread.java:7872)
E/AndroidRuntime( 9545): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 9545): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/AndroidRuntime( 9545): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
I/Process ( 9545): Sending signal. PID: 9545 SIG: 9
Lost connection to device.
My driver's balance is zero so far, the passenger does not see itCan anyone help us with a solution to this problem? Apart from me and two other people, is everyone using the apps without this kind of problem? Can anyone give us a way to try to resolve this error?
The answer to the problem is here: https://github.com/Lyokone/flutterlocation/issues/806When launching customer after the location permission, the application closes with an error:
Code:E/AndroidRuntime( 9545): java.lang.IncompatibleClassChangeError: Found interface com.google.android.gms.location.FusedLocationProviderClient, but class was expected (declaration of 'com.google.android.gms.location.FusedLocationProviderClient' appears in /data/app/~~uYsTH-L2soF9g1g5hdD0EA==/online.edentech.fuodz-taz4dVjFdz72QWHXo5aDzA==/base.apk!classes6.dex) E/AndroidRuntime( 9545): at com.lyokone.location.FlutterLocation.createLocationCallback(FlutterLocation.java:219) E/AndroidRuntime( 9545): at com.lyokone.location.FlutterLocation.changeSettings(FlutterLocation.java:197) E/AndroidRuntime( 9545): at com.lyokone.location.MethodCallHandlerImpl.onChangeSettings(MethodCallHandlerImpl.java:106) E/AndroidRuntime( 9545): at com.lyokone.location.MethodCallHandlerImpl.onMethodCall(MethodCallHandlerImpl.java:40) E/AndroidRuntime( 9545): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:258) E/AndroidRuntime( 9545): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295) E/AndroidRuntime( 9545): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$DartMessenger(DartMessenger.java:322) E/AndroidRuntime( 9545): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12) E/AndroidRuntime( 9545): at android.os.Handler.handleCallback(Handler.java:942) E/AndroidRuntime( 9545): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 9545): at android.os.Looper.loopOnce(Looper.java:201) E/AndroidRuntime( 9545): at android.os.Looper.loop(Looper.java:288) E/AndroidRuntime( 9545): at android.app.ActivityThread.main(ActivityThread.java:7872) E/AndroidRuntime( 9545): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 9545): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) E/AndroidRuntime( 9545): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936) I/Process ( 9545): Sending signal. PID: 9545 SIG: 9 Lost connection to device.
не совсем верное решение, но оно работает.Может ли кто-нибудь помочь нам с исходом этой проблемы? Кроме меня и еще двух человек, все ли представлены приложениями без проблем? Может ли кто-нибудь дать нам способ решить эту ошибку?
I replaced the file but the problem persistsне совсем верное решение, но оно работает.
Замените файл /app/Jobs/TaxiOrderMatchingJob.php на файл из версии 1.6.4.
How it worked for me...VPS Server Ubuntu 22.04.Я заменил файл, но проблема осталась
After all this I decided to return the file from version 1.6.5, and oh well, it works.How it worked for me...VPS Server Ubuntu 22.04.
Version 1.6.4 was installed
php 8.1 installed
To make it work with php 8.1, did the following steps ...
composer update - performed in the directory with laravel
...After updating composer,
gave access rights on folders (If not properly set the rights to the folders, extensions will not be installed, maybe someone will need it)
sudo chmod -R gu+w storage
sudo chmod -R guo+w storage
sudo chmod -R gu+w bootstrap/cache
sudo chmod -R guo+w bootstrap/cache
sudo chown -R $USER:www-data .
sudo find . -type f -exec chmod 664 {} \;
sudo find . -type d -exec chmod 775 {} \;
sudo chmod -R 777 storage
sudo chmod -R 777 bootstrap
------------------------------------
This is important!
Installed and configured CRON
Installed and configured supervisor
-----------------------------------
Then I ran the following command
php artisan optimize && php artisan cache:clear && php artisan route:cache && php artisan view:clear && php artisan config:cache && php artisan storage:link && php artisan key:generate
BUT, to execute this command, the last line in /routes/api.php must be commented out
// Route::apiResource('/my/services', VendorServiceController::class);
Otherwise there will be an error...
Also, if you have a clean install, you need to delete the file in /public/ storage - file...
Execute the command above, and again uncomment the line...
If the line is not uncommented, then the 3rd tab, where services, vendors and products are...., will no longer work in the application
Then I updated to version 1.6.5, and brought back the TaxiOrderMatchingJob file from version 1.6.4.
I added users
Be sure to click "Clear cache" in the backend, otherwise the map won't work
That's it, it's working..... orders come in instantly.
I will try following these steps todayAfter all this I decided to return the file from version 1.6.5, and oh well, it works.
My opinion is that if you install from scratch version 1.6.5 it will not work.
You need to put 1.6.4 and update to 1.6.5
Version 1.6.4 I can send who need, it's a little different from the one that here, the size of the archive is slightly different
I did and redid all the steps several times but I couldn't get the driver to receive the request.How it worked for me...VPS Server Ubuntu 22.04.
Version 1.6.4 was installed
php 8.1 installed
To make it work with php 8.1, did the following steps ...
composer update - performed in the directory with laravel
...After updating composer,
gave access rights on folders (If not properly set the rights to the folders, extensions will not be installed, maybe someone will need it)
sudo chmod -R gu+w storage
sudo chmod -R guo+w storage
sudo chmod -R gu+w bootstrap/cache
sudo chmod -R guo+w bootstrap/cache
sudo chown -R $USER:www-data .
sudo find . -type f -exec chmod 664 {} \;
sudo find . -type d -exec chmod 775 {} \;
sudo chmod -R 777 storage
sudo chmod -R 777 bootstrap
------------------------------------
This is important!
Installed and configured CRON
Installed and configured supervisor
-----------------------------------
Then I ran the following command
php artisan optimize && php artisan cache:clear && php artisan route:cache && php artisan view:clear && php artisan config:cache && php artisan storage:link && php artisan key:generate
BUT, to execute this command, the last line in /routes/api.php must be commented out
// Route::apiResource('/my/services', VendorServiceController::class);
Otherwise there will be an error...
Also, if you have a clean install, you need to delete the file in /public/ storage - file...
Execute the command above, and again uncomment the line...
If the line is not uncommented, then the 3rd tab, where services, vendors and products are...., will no longer work in the application
Then I updated to version 1.6.5, and brought back the TaxiOrderMatchingJob file from version 1.6.4.
I added users
Be sure to click "Clear cache" in the backend, otherwise the map won't work
That's it, it's working..... orders come in instantly.
stopped working again...I did and redid all the steps several times but I couldn't get the driver to receive the request.
stopped working again...
Does anyone have a solution?
Does it work for everyone?
Or is it just us 3?
почистил кеш и все заработало...Здесь работает...
Этот:
--------------------------------------------------
"Затем я выполнил следующую команду
php artisan оптимизация && php artisan cache:очистить && php artisan route:cache && php artisan view:clear && php artisan config:cache && php artisan storage:link && php artisan key:generate
НО, чтобы выполнить эту команду, последнюю строку в /routes/api.php нужно закомментировать.
// Route::apiResource('/my/services', VendorServiceController::class); "
Выполните команду выше и снова раскомментируйте строку...
Итак, проверьте логи в бэкенде и исправьте там ошибки.
Переустановил Supervisor и изменил диспетчер очередей «php path/to/backend» на «usr/local/bin path/to/backend»
I was able to accept the request in the driver app a couple of times, but on the second attempt the app goes back to not receiving requests. At first I was getting cache folder permission errors, I fixed the permissions, everything works again once, but the second time onwards the app goes back to not receiving requests. In addition, during the few times that the app worked, when finalizing the request and opening the review screen, a table error appears and the driver app crashes.почистил кеш и все заработало...
Но дело в том, что ошибок нет... нигде ошибок нет, все логи проверил.
Наоборот, показывает, что все работает нормально
Can you send me the password?Hello everyone) Guys, please write to me who has what doesn't work and in which application. I just lost a lot of time on edits and looking for jambs. Thank you in advance for your help)