Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

Google maps click on Point of interest returns different placeId on Android and IOS

$
0
0

I am working on react native application using package "react-native-maps": "0.27.0". I am watching for click on Point of interest (poi) and trying to read a location returned object. But there is difference in placeId between IOS and Android.

Android response: ChIJAAAAAAAAAAARE6VfRqb20Wo

IOS response: ChIJR-k4Ym_gPkcRE6VfRqb20Wo

As you can see Android will replace big part of id with AAAAAAAAAAA rest of string is same.

Both platforms are set to use google maps (not apple maps).

Both IDs are valid, point to one POI and searchable but I am expecting placeId as unique and only one identifier for one location but it seems IOS and Android SDK has different sources. Is there any way how to use one identifier on all devices? Why is this happening?


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>