Closed ravimittal16 closed 5 months ago
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: https://github.com/capacitor-community/google-maps/discussions/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 https://github.com/ionic-team/capacitor-google-maps/issues/5#issuecomment-2072345149
@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)
NPM Error Your version of @capacitor/google-maps is not compatible with @capacitor/core 6.0.0..
To Reproduce Steps to reproduce the behavior:
Expected behavior Should upgrade to Capacitor 6 without any issues