capacitor-community/google-maps

Not compatible with @capacitor/core 6.0.0

Closed this issue · 7 comments

NPM Error
Your version of @capacitor/google-maps is not compatible with @capacitor/core 6.0.0..

To Reproduce
Steps to reproduce the behavior:

  1. Go to IONIC Upgrade
  2. Click on 'Migrate to Capacitor 6'
  3. Scroll down to 'Output Window on VS Code'
  4. See error

Expected behavior
Should upgrade to Capacitor 6 without any issues

image

Well, this has taken somewhat longer to resolve than I hoped. Obviously, @capacitor/google-maps has not been updated to support the new @capacitor/core@6.0.0. Currently using --legacy-peer-deps flag to bypass the peer dependency conflict, pending when the upgrade for @capacitor/google-maps would be available. The only other option, interim, would be to defer/downgrade from @capacitor/core@6.0.0.

Are you on the ACTUAL latest version of this plugin? Not the one tagged as latest (beta.1), but beta.8. I had a different issue and went down that rabbit hole but in the end I got it working with Capacitor 6 by installing the beta.8. See: #234

@ravimittal16 I read your error message again and noticed that you are in the wrong repo. The error is about @capacitor/google-maps, but this is the repo for @capacitor-community/google-maps.

For anyone looking for info on the ionic team's @capacitor/google-maps v6 compatibilty issues, the answer is here
ionic-team/capacitor-google-maps#5 (comment)

@frederikheld I think they are same.

We were able to update Capacitor v6 with RC version of google-maps plugin. Hence clsoing the issue

They are definitely not the same. I spent a lot of weeks recently, to figure out how both of them work and they work very different (and none of them properly)