From c099cad0c6735302144f727f0a05306164ca8169 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 9 Apr 2026 17:29:08 +0000 Subject: [PATCH 1/2] Initial plan From a6c4a9d2ad2c90fcc2ec1dd4a2953dbc2d2ea771 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 9 Apr 2026 17:35:49 +0000 Subject: [PATCH 2/2] feat(google-maps): use ios swift package manager config Agent-Logs-Url: https://github.com/NativeScript/plugins/sessions/71c12428-fdc1-44b3-bb29-9334c3e77fd6 --- packages/google-maps/.eslintrc.json | 2 +- packages/google-maps/nativescript.config.ts | 14 ++++++++++++++ packages/google-maps/platforms/ios/Podfile | 2 -- packages/google-maps/project.json | 1 + packages/google-maps/tsconfig.json | 14 +++++++------- 5 files changed, 23 insertions(+), 10 deletions(-) create mode 100644 packages/google-maps/nativescript.config.ts delete mode 100644 packages/google-maps/platforms/ios/Podfile diff --git a/packages/google-maps/.eslintrc.json b/packages/google-maps/.eslintrc.json index be41074b..a6658bda 100644 --- a/packages/google-maps/.eslintrc.json +++ b/packages/google-maps/.eslintrc.json @@ -1,6 +1,6 @@ { "extends": ["../../.eslintrc.json"], - "ignorePatterns": ["!**/*", "node_modules/**/*"], + "ignorePatterns": ["!**/*", "node_modules/**/*", "nativescript.config.ts"], "overrides": [ { "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], diff --git a/packages/google-maps/nativescript.config.ts b/packages/google-maps/nativescript.config.ts new file mode 100644 index 00000000..81076e51 --- /dev/null +++ b/packages/google-maps/nativescript.config.ts @@ -0,0 +1,14 @@ +import { NativeScriptConfig } from '@nativescript/core'; + +export default { + ios: { + SPMPackages: [ + { + name: 'GoogleMaps', + libs: ['GoogleMaps'], + version: '10.12.0', + repositoryURL: 'https://github.com/googlemaps/ios-maps-sdk.git', + }, + ], + }, +} as NativeScriptConfig; diff --git a/packages/google-maps/platforms/ios/Podfile b/packages/google-maps/platforms/ios/Podfile deleted file mode 100644 index 8cbd557a..00000000 --- a/packages/google-maps/platforms/ios/Podfile +++ /dev/null @@ -1,2 +0,0 @@ -platform :ios, '14.0' -pod 'GoogleMaps', '~> 8.4.0' diff --git a/packages/google-maps/project.json b/packages/google-maps/project.json index 845fd120..d9ff40ef 100644 --- a/packages/google-maps/project.json +++ b/packages/google-maps/project.json @@ -15,6 +15,7 @@ "packages/google-maps/*.md", "packages/google-maps/index.d.ts", "packages/google-maps/utils/index.d.ts", + "packages/google-maps/nativescript.config.ts", "LICENSE", { "glob": "**/*", diff --git a/packages/google-maps/tsconfig.json b/packages/google-maps/tsconfig.json index 4f0f989a..a146065e 100644 --- a/packages/google-maps/tsconfig.json +++ b/packages/google-maps/tsconfig.json @@ -1,9 +1,9 @@ { - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "../../dist/out-tsc", - "rootDir": "." - }, - "exclude": ["**/*.spec.ts", "angular", "src-native"], - "include": ["**/*.ts", "references.d.ts"] + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc", + "rootDir": "." + }, + "exclude": ["**/*.spec.ts", "angular", "nativescript.config.ts", "src-native"], + "include": ["**/*.ts", "references.d.ts"] }