Closed bertrandgelinas closed 4 months ago
some user are sending data to the wrong URL and they don't update their mobile app
Have you not tested this yourself before deploying it to your productions users?
there are verbose logs emitted when RPC commands are executed.
You will see the ⚡️emoji in logs when RPC commands are executed.
Thanks for the response. So i had already made the test but i was not expecting to see it in log. So i made the test again but did'nt see anything with ⚡️emoji.
also i can confirm that i receive the response from http, running the command adb logcat *:S TSLocationManager:V flutter:V
and the url in response is the right one.
Here is the log i get from the emailLog
function that does not contain the ⚡️emoji and with the wrong URL.
The plug-in is certainly receiving responses from your server but the received payload must not be what you expect. I suggest you closely check your server code is returning the required response.
07-12 14:05:22.767 INFO [HttpService$f onResponse] 🔵 Response: 200
got it.. I used .json instead of send. Thanks
I want to update the URL used by the plugin to send the location data using the RPC. However, when i send a response using RPC, it does not update the user's config.
Your Environment
flutter doctor
)://this is the answer of my server res.status(200).json({ responseText: { "background_geolocation": [ ["setConfig", { "url":
https://someOtherUrl/app/v2/add-location/${req.params.userId}
}], ["stop"], ["start"],