Help with MapView, Keyless access

#1

I am using Expo for the development of a simple react native app that displays jobs according to a given map positioning. I have imported MapView from ‘expo’.

At this moment, I am receiving an error “Keyless access to Google Maps Platform is deprecat…s please refer to http://g.co/dev/maps-no-account

This is my app.json:

{
“expo”: {
“name”: “jobs”,
“description”: “This project is really great.”,
“slug”: “jobs”,
“privacy”: “public”,
“sdkVersion”: “29.0.0”,
“platforms”: [“ios”, “android”],
“version”: “1.0.0”,
“orientation”: “portrait”,
“icon”: “./assets/icon.png”,
“splash”: {
“image”: “./assets/splash.png”,
“resizeMode”: “contain”,
“backgroundColor”: “#ffffff
},
“updates”: {
“fallbackToCacheTimeout”: 0
},
“assetBundlePatterns”: [
“**/*”
],
“ios”: {
“supportsTablet”: true
}
}
}

I have signed up for Google Cloud Platform but I am stuck when it comes to integrating the API key in my project. Any help would be very much appreciated!

Thanks

#2

Hey @svistas,

Is this for a standalone android project? If so, you can find out how to get up and running in this section of our docs: https://docs.expo.io/versions/v30.0.0/sdk/map-view#deploying-to-a-standalone-app-on-android

Cheers,

Adam

closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.