ionic-team / capacitor-google-maps

12 stars 16 forks source link

How to use this with capacitor 6? #5

Closed alexconstantin closed 4 months ago

alexconstantin commented 4 months ago

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.
jcesarmobile commented 4 months ago

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 commented 4 months ago

Perfect, I generate my app for version 14 onwards. So it's not a problem for me. Thank you very much for answering.

El mar, 23 abr 2024 a las 15:37, jcesarmobile @.***>) escribió:

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 @@.***, 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.

— Reply to this email directly, view it on GitHub https://github.com/ionic-team/capacitor-google-maps/issues/5#issuecomment-2072345149, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACY4BAWK5HHENV7NKM7D5UTY6ZPX7AVCNFSM6AAAAABGN4APGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZSGM2DKMJUHE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ionitron-bot[bot] commented 4 months ago

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.