expo - react native - web | mobile . Looking for Map implementation - react-native

I am building a product using expo, a common code base for mobile as well as web. I need to implement a map. Can you please suggest to me the correct npm package or any document to use open street map API. or any other system?

If you just want to display the maps without any direction feature, then you could use react-native-maps.
If you want to show maps with direction feature, you would use react-native-maps-direction. But you'll need to provide google api key to use it.

Related

react-native-maps which api use and how is its costs?

I'm creating an app based on maps.
From 11 June 2018 Google changes his price plan of the Google Maps Api.
I read here (Google maps price matrix) that for mobile application it's unilimited free.
But... which api use Google Maps in this library?
I try to use the library and for emulator not use Google API KEY. In this way i'm not sure that i use only free plan.
How i understand how calculate my costs? If there are.
I found all information about it.
react-native-maps use Maps SDK for iOS and Android.
This page Google Maps Costs examplain that for SDK there aren't costs.
I tried to enable only SDK Api and check report monitor on Google Cloud console
In this way you can use dynamic maps, use marker in your react application without costs.
It is different if you use search api or geocode api. This api follow the common cost of api reported in previous link.
In this case you can use mix of Google Maps SDK and Open Street maps API

Possible for Expo/React Native to save large amounts of encrypted data to iCloud?

I'm developing an Expo app which stores large amounts of users private data, currently only within the app. In order to allow the user to migrate their app data between devices, we need to store this in iCloud.
I'm currently unable to find documentation or article that explains how to do this.
Is it not currently possible for Expo to save data via the iCloud API?
there are some ways to save the data in the iCloud, one way you write ios native module
for iCloud API, then use it in the js. the detailed guide you can see here.
the other way is to search the third library which is used for react-native.for example:react-native-icloudstore. but it is old.
besides them, you can use CloudKit JS. use it in the native app webView.
you can go to the official site to learn it
In the end, if you can write native ios code, I suggest you use the first way. if you can not write it, you can search ios native relate library, then make your own
native module for ios

How to add type-tolerance configuration setting in Algolia react-instantsearch for react-native application?

I am new to react-native. How to implement Algolia instant search in react native project?
As with any project that wants to use Algolia for search, you first need to push your data to your index. This can be done in any programming language (JavaScript, Ruby, etc) by using the official Algolia API Clients. This step is either a one-time thing (if your data does not change), or something that should be kept in sync with your database (if your data is updated often).
The second part is to build the front-end to search into this data. As you're using React Native, you should use React InstantSearch (https://community.algolia.com/react-instantsearch/) for that. It provides all the UI widgets you'll need to build the search interface.

Apple/Google Maps SDK for getting directions data

I am trying to build an iOS application that will basically give me distance and route to how to go from my current location to a specified destination.
Does Google Maps SDK or Apple Maps SDK expose such an API to get directions/navigation data without leaving the app?
I know Google Maps API has directions data REST API, however I was looking for more integrated solution that utilizes MapKit directly, if any. Thanks for reading so far.
As far as I know, Apple is not supporting GoogleMaps in MapKit. I used GoogleMaps, and I need to import all libraries and add the functionality by code.
But it supports Apple Maps.

iOS third party maps

I'm building an iOS app using MapBox for maps and MapQuest for directions data. Are there any limitations as to what an App can use or display in terms of third party (non MapKit) map data? Will an app that displays maps and directions from other sources be approved for the App Store..?
I am the developer of the MapBox iOS SDK. Many apps have been approved by Apple with alternative maps and/or directions. Some examples include:
http://thesilenthistory.com
http://www.mapofthedead.com
http://www.bassproshopsgames.com/myguide-Hunt/bass-pro-shops-myguide-hunt
http://mapcraftapp.com
http://www.messageme.com
http://moves-app.com
https://itunes.apple.com/us/app/london-tube-tamer-transport/id558106521?mt=8
Additionally, all but the last use MapBox.
Here there are other alternatives that can help you on both sides:
skobbler iOS SDK- they offer offline maps, route calculation, turn-by-turn navigation and a free tier plan.
cartotype - they offer vector data, maps and routes can be displayed as integrated map layers or overlays.