xamarin / GoogleApisForiOSComponents

MIT License
225 stars 161 forks source link

MapServices.ProvideAPIKey obsolete #482

Open dansiegel opened 3 years ago

dansiegel commented 3 years ago

Description

The obsolete message for the ProvideApiKey doesn't seem to make any sense....

https://github.com/xamarin/GoogleApisForiOSComponents/blob/e1f019f419c14d9ed28538989f9feadafc749006/source/Google/Maps/ApiDefinition.cs#L1251-L1258

It would seem that the Obsolete message is saying that you should migrate to:

MapServices.ProvideAPIKey("my key");

However this is what is triggering the Obsolete message.