Hi,
I'm currently building a Unity project for Android and iOS.
I manage to make everything work in Unity directly, I have no problem sending requests to the different APIs and receiving results. I tested a windows build and it works on there as well.
However, when I build on Android and test it, I can receive and AdressQuery no problem via Geocoding, but the ReverseGeocoding and Routing are not working properly. Is there anything known on this issue ?
Let me know if you need more precise information, I will try to get it.
Thanks in advance !
Solved! Go to Solution.
Hi everyone. I ended up finding what was causing the problem.
For an unknown reason to me. My Unity build for android modified the stringified doubles of my location to have a , instead of a .
So it was sending something like (-72,983847,42,90548) instead of (-72.983847,42.90548) thus causing an error in the parameters, A simple ToString().Replace(',' , '.') did the job.
Hi,
Check this post/thread out. May be the same issue/solution.
-Cory
Those are just samples. We are always looking to improve them and make them work out of the box on more platforms but if you want to use those samples on a mobile platform you will have to modify it.
We will look to document it better when we know a sample won't work on a specific platform.
Hi everyone. I ended up finding what was causing the problem.
For an unknown reason to me. My Unity build for android modified the stringified doubles of my location to have a , instead of a .
So it was sending something like (-72,983847,42,90548) instead of (-72.983847,42.90548) thus causing an error in the parameters, A simple ToString().Replace(',' , '.') did the job.