Skip to content

najathi/rn-maps-directions

Repository files navigation

rn maps directions - Najathi

Instructions

Follow This before running the Project

First get your Google Maps Android and iOS SDK, Places and Directions API Key (request one here; if you're using an existing Google Maps API Key make sure you've enabled the Google Maps, Directions and Places API for that key using the Google API Console).

first create env.js file and configure them..

const variables = {
	development: {
		googleApiKey: 'your_google_map_api'
	},
	production: {
		googleApiKey: 'your_google_map_api'
	}
};

const getEnvVariables = () => {
	if (__DEV__) {
		return variables.development; // return this if in development mode
	}
	return variables.production; // otherwise, return this
};

export default getEnvVariables; // export a reference to the function

Install Packages

npm install

Start Application

you can use expo start to run the project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published