ionic-team / capacitor-google-maps

12 stars 16 forks source link

Project is Dead? (only supported) #29

Open reslear opened 1 month ago

reslear commented 1 month ago

The company has shown no activity here for the past four months, aside from some community PR efforts. Is it fair to assume the project is dead?

Update Aug 2024 - Last week, the project was updated to Capacitor 6 https://github.com/ionic-team/capacitor-google-maps/pull/33, but there’s no sign of active development or new features at the moment.

reslear commented 1 month ago

To get the latest changes by @ae1ns:

1. Compilation Plugin

  1. Download the repo https://github.com/AE1NS/capacitor-google-maps/tree/custom-4 and open it in an editor (first window).
  2. Open the terminal and run pnpm i && pnpm build.

2. Patch Plugin

If you don't have pnpm, use https://www.npmjs.com/package/patch-package.

  1. Go to your project, open it in an editor (second window), and run pnpm patch @capacitor/google-maps.
  2. Open the temp folder in a new window (third window):
➜ pnpm patch @capacitor/google-maps
Patch: You can now edit the package at:

  /private/var/folders/r5/0wg5rcy547dcpq9l0s47ylhr0000gn/T/dbd378357f0642dbc8d9a8c131d6852a
  1. Copy and override the files/folders from the compile step to the temp folder:
  1. Run the patch command printed above:
To commit your changes, run:

  pnpm patch-commit '/private/var/folders/r5/0wg5rcy547dcpq9l0s47ylhr0000gn/T/dbd378357f0642dbc8d9a8c131d6852a'

You can close the first and third windows.

3. App

  1. Add to your app's package.json:
  "pnpm": {
    "overrides": {
      "@googlemaps/js-api-loader": "^1.16.2"
    }
  }
  1. Run pnpm install && pnpm cap sync.

  2. Enjoy! Thanks @ae1ns.

Patch file: @capacitor__google-maps@6.0.0-rc.0.patch