Search code examples
androidiosgoogle-mapsapple-maps

Apple Maps and Google Maps API feasibility


I want to build an application where the user can see his current location, and all the users logged in to the app as well.

I want to build it for Android and IOS. Can I use Apple Maps on IOS and Google Maps API on Android?

Will the application be able to show the current logged in users location on both IOS and Android with no problems? even though am using Apple maps on IOS and Google Maps API on Android?

To be more clear: the android user can also see the IOS users on the map and Vice-Versa

Or I have to use Google Maps API on IOS as well?


Solution

  • Its possible. Just you need to save the lat long on your server of every logged in user. And while any client i.e. Android or iOS app login the app you can have an endpoint that returns the location of all logged in users in server. For server component, you need to develop one endpoint to save the lat long and one endpoint to fetch all the lat long's saved on server.