Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use this with capacitor 6? #5

Closed
alexconstantin opened this issue Apr 18, 2024 · 3 comments
Closed

How to use this with capacitor 6? #5

alexconstantin opened this issue Apr 18, 2024 · 3 comments
Labels

Comments

@alexconstantin
Copy link

Is there a way to make this work with the latest version of capacitor?

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: afon@0.0.1
npm ERR! Found: @capacitor/core@6.0.0
npm ERR! node_modules/@capacitor/core
npm ERR!   @capacitor/core@"^6.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @capacitor/core@"^5.0.0" from @capacitor/google-maps@5.4.1
npm ERR! node_modules/@capacitor/google-maps
npm ERR!   @capacitor/google-maps@"^5.4.1" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
@ionitron-bot ionitron-bot bot added the triage label Apr 18, 2024
@jcesarmobile
Copy link
Member

We are waiting for a release of some google maps native dependencies to add Swift Package Manager support and ship with everything up to date.

For the moment you can install the RC version with npm install @capacitor/google-maps@next, but have in mind that the final version will require iOS 14 (while Capacitor itself still allows iOS 13) because of the google maps dependencies requiring iOS 14 or newer.

@jlgc77
Copy link

jlgc77 commented Apr 23, 2024 via email

Copy link

ionitron-bot bot commented May 9, 2024

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators May 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants