NativeScript / NativeScript/plugins

Support Swift Package Manager for @nativescript/google-maps iOS integration before Google Maps CocoaPods deprecation

Ouverte
#660 0 commentaires 1 réaction 2 personnes assignées Voir sur GitHub

@NathanWalker y travaille déjà.

Depuis le 9/4/2026.

  • #661 par @copilot-swe-agent — ouverte
Langage dominant
TypeScript
Étoiles
206
Forks
123
Merge moyen
2 j 1 h
PR mergées (30 j)
1

Description

Hello,

I’m using @nativescript/google-maps and wanted to raise an upcoming iOS dependency issue.

Google Maps Platform has notified customers that they are phasing out CocoaPods as an installation method for their iOS SDKs. According to Google, new Google Maps Platform iOS SDK releases will continue on CocoaPods only through Q2 2026, and starting with version 11.0, new releases will no longer be published through CocoaPods. They are advising developers to migrate to Swift Package Manager or manual installation.

The current @nativescript/google-maps plugin still appears to rely on CocoaPods for iOS. In the latest plugin source, packages/google-maps/platforms/ios/Podfile still installs Google Maps through CocoaPods. Because of Google’s change, this means NativeScript apps using this plugin may not be able to consume newer Google Maps iOS SDK releases going forward unless the plugin supports Swift Package Manager or another non-CocoaPods integration path.

I am currently using @nativescript/google-maps 1.5.2 in one app, and I also reviewed the latest plugin source, which is currently 1.8.0 in the NativeScript plugins repo. I was able to make a local custom fork work by removing the iOS Podfile-based dependency and supplying the Google Maps iOS SDK from the host app through NativeScript ios.SPMPackages, but I wanted to ask whether there are any official plans to support this in the plugin itself.

Questions:

Are there any plans to add Swift Package Manager support for the iOS side of @nativescript/google-maps?
If so, is there a recommended migration path for apps currently using the CocoaPods-based plugin integration?
If not, would the maintainers accept a contribution that updates the plugin’s iOS dependency strategy to work with Swift Package Manager?
References:

Google Maps iOS versions/install docs: https://developers.google.com/maps/documentation/ios-sdk/versions
Google Maps iOS release notes: https://developers.google.com/maps/documentation/ios-sdk/release-notes
Thanks.

Image

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.