NativeScript / NativeScript/plugins
Support Swift Package Manager for @nativescript/google-maps iOS integration before Google Maps CocoaPods deprecation
- Linguagem predominante
- TypeScript
- Estrelas
- 206
- Forks
- 123
- Merge médio
- 2d 1h
- PRs com merge (30d)
- 1
Descrição
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.
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Avaliação
Esta issue ainda não foi avaliada.