Playmaker Forum
PlayMaker Feedback => Action Requests => Topic started by: PlaymakerNOOB on October 09, 2019, 10:59:20 PM
-
Didnt know exactly where to put this. Hopefully this is the correct spot.
If you use Analytics send custom event (found on the ecosystem), in the editor with wifi off or ethernet unplugged, the action still takes the success path. How can it do that, if it cannot successfully report via the internet?
-
Hi,
unfortunatly, the result comes from the api itself.
https://docs.unity3d.com/ScriptReference/Analytics.AnalyticsResult.html
so the result is not whether you are connected or not it's how your event was formatted, I suggest you check if you are online first and adjust accordingly your logic.
Bye,
Jean
-
Yep, good catch! For others, I found that I should be using Application Internet Reachability (on ecosystem) to test for internet first, before sending the analytics.