Be taught extra in regards to the nuances of deprecations in APIs and SDKs in our deprecations documentation, which additionally lists all lively deprecations.

The way to handle SDK dependencies

For builders utilizing Google Maps Platform cell SDKs (Maps and Locations SDKs for Android, Maps and Locations SDKs for iOS), managing your dependency variations may help you schedule deprecation migration adjustments based on your app growth cycle as an alternative of as a rushed repair earlier than a deadline.

For cell SDKs, it is best to specify a precise model quantity in your app’s dependencies. We have added documentation for methods to handle your SDK dependencies for Maps SDK for Android, Places SDK for Android, Maps SDK for iOS, and Places SDK for iOS.

The Maps JavaScript API is totally different from the cell SDKs. We suggest that you simply all the time load the most recent model by default (v=weekly), as a result of variations are launched and decommissioned on a quarterly schedule. Be taught extra about methods to put together for normal Maps JavaScript API updates here.

You select when to replace code

The ultimate step is to schedule code upkeep usually in your growth cycle, so to reduce technical debt and benefit from the newest enhancements within the SDKs. The discharge notes and obligatory service bulletins level to migration guides or present workarounds for deprecated options so as to reduce the hassle wanted to replace your code.

By following the steps above, the subsequent time you obtain a notification about deprecated options or variations, you’ll be able to calm down, understanding that you can select when you’ve time to replace your code to undertake the most recent SDK model. Your cell app builds will likely be predictable towards steady SDK variations, and you may know what to do (specify an earlier model) whenever you obtain JavaScript launch notes about adjustments that will have an effect on your web site. We hope the following pointers mean you can plan forward for code updates, so deprecation notices do not trigger stress.

For extra data on Google Maps Platform, visit our website.

Leave a Reply

Your email address will not be published. Required fields are marked *