NativeScript / NativeScript/plugins

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

Đang mở
#660 0 bình luận 1 reaction 2 người được giao Xem trên GitHub

@NathanWalker đang làm issue này rồi.

Từ ngày 9/4/2026.

  • #661 của @copilot-swe-agent — đang mở
Ngôn ngữ chính
TypeScript
Star
206
Fork
123
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.