-
Notifications
You must be signed in to change notification settings - Fork 120
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
Create CapacitorJS v6 package compatibility #541
Comments
According to ChatGPT multiple major versions can be enabled:
|
@bluepuma77 capacitor 6 is not supported yet |
@jepiqueau, any chance we can expect support for capacitor 6 in the next few days? -- edit -- I just tried to force install the plugin on capacitor v6 and it didn't break my app. Can you please push a minor version adding support to version 6 like @bluepuma77 suggested? It will stop breaking the npm install at least. |
@rosostolato not really Capacitor 6 requires for iOS Xcode 15 which runs only on Sonatra which is not supported on my MacBook Pro. So i cannot build the ios part otherwise it would have been released already. |
@jepiqueau got it, I had just tested on Android. But actually, xcode 15 requires Ventura 13.5 to run: https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes Doesn't your Mac support it? And if not, can't you run it on a vm? Or if you tell me what I need to do, I can build it for you. |
@rosostolato thanks for your proposalbut my Mac is from 2016so it does not even support Ventura. I will what solutions i have but it will take a bit of time free which is not the case those week as i got some personal issues. I will keep you aware of the progress |
@jepiqueau Did you contact Ionic developer relations, if they could sponsor you a new MacBook, as you are an important community maintainer? Their "Director of Developer Relations" is on LinkedIn 😄 |
@bluepuma77 can give me his références name and email please |
Sorry, only got links: Or you could try other channels: |
Same here, waiting for support v6 |
@bluepuma77 i sent an email to Mike, we will see. May be some of you can also sponsor me for part of it |
Dude, you should try a VM. If you have Linux or even windows, you can try docker-osx. It's not illegal, you can see more info on their faq section. |
@rosostolato i tried a VM with Windows but it is far to slow and the mouse motion is also slow making it really not useful. |
@jepiqueau have you tried docker-osx running on wsl? I know it's not that fast like an actual Mac but not too slow that you can't use to compile stuff. |
Waiting for support v6 too here 🙏 |
@jepiqueau if you tell me the steps I can compile it for you. We can't just let this package get stale because of that. |
@rosostolato i have publish an alpha version for Capacitor6 that you can install with `npm i --save @capacitor-community/sqlite@capv6 in your app, i will check it to day for Android, Electron and Web by migrating my testing apps to Capacitor6. If you can do it for one of your app (migrating to Capacitor6) and build it and report to me the result it would be great |
@jepiqueau I have checked my app in browser as well as android emulator(14) its working fine..Thanks |
@bluepuma77 @rosostolato @lajith111 @RubioN @Meerkap I tested the |
@lajith111 thanks for the feedback on Android and Web |
Thank you very much @jepiqueau ! |
@eideard-hm you can try out the new version by installing |
@rosostolato did you try building the ios plugin in an app ? What was the result? |
@jepiqueau not yet, I will try tonight or tomorrow, I will let you know. |
@jepiqueau I just tested it on my capacitor v6 app and everything looks good. Both iOS and Android are just working. Thank you for that! |
@rosostolato thanks for your feedback. Happy of this |
When V6? |
@jepiqueau do you have some news please ? 🙏 |
@jepiqueau I think you can use the |
@jepiqueau when will you release the production-ready version of this? |
I hope it'll not happen again here. What are your thoughts guys?
|
@Sampath-Lokuge i will issue a full Capacitor V6 version of this plugin and it will be the last one. |
Thank you all the effort you put on this amazing plug-in. I hope this project never dies 🙏 |
Thanks, @jepiqueau That will give us at least a small joy hence we cannot update our apps to Cap 6 until we have official support from this plugin. i.e. we cannot use the alpha version with production-ready apps. Good luck! |
@jepiqueau Let me know if you need any support with the release. |
@jepiqueau Thank you for all your work! |
@robingenz @rosostolato thanks, i will need someone to validate the iOS part when issues like @rosostolato did for the alpha release. Thanks to all of you for your understanding and support |
@jepiqueau I understand. |
@jepiqueau I have a MacBook M3 Pro looking forward to be stressed 😃 so I can validate the iOS part of the plugin, I have some experience in Capacitor Plugins development because I 've written a couple of them for company internal purposes. I just need instructions on what to do, hope this can help. |
@bluepuma77 @rosostolato @lajith111 @RubioN @Meerkap Can some of you test the beta release tag --capv6. Waiting for your feedback before releasing 6.0.0 |
@jepiqueau I'll check the iOS part this evening (CEST) and put my feedback here. Is there any test suite I can use for that? |
I downloaded the cap6 version and am not seeing any issues so far on web, iOS or Android! Thanks for all the hard work @jepiqueau ! |
@sertal70 you can clone ionic-react-test-issues, the main branch is for version 6 in the Home page select the menu and you will find a list of tests. They must all run to completion |
@CarlosPoventud thanks for the feedback, can you also clone ionic-react-test-issues and test it on iOS. i run the tests on Web, Android and Electron, they all complete successfully |
@jepiqueau Running from the emulator it all seems to work! Attaching several pictures from an iPhone 15 simulator: |
@CarlosPoventud thanks for the feedback waiting more feedbacks from others and i will then publish the release 6.0.0 |
@jepiqueau I've tested the plugin on a physical iPhone XR v17.3.1, a physical iPhone 7 Plus v15.8.2 and a simulator iPhone 15 v.17.5 All the tests completed without any visible errors, except the "MultipleRows test" which does not complete with the following log:
It is weird because this test starts to fail only after I run "Get from HTTP test". If I do a clean install and avoid to run that test, it completes ok. |
@sertal70 thanks for the feedback. That strange behaviour as the two tests are completely separate i will have a look |
@sertal70 have you clean all databases on the device before starting the tests? |
@sertal70 i had a look for this test i forgot to clean an vacuum the database after open so by runniing it a second time you will get the UNIQUE constraint failed. If you add the clean and vacuum like in some others tests it must not failed |
Release 6.0.0 has been published. Thanks all for your contribution |
@jepiqueau sorry I saw your comments right now because yesterday I had to leave... Glad to see you published release 6! Thank you so much for you effort! |
@sertal70 you are welcome |
@jepiqueau Checked in web and real android device working perfectly fine. Thanks a lot |
Describe the bug
CapacitorJS v6.0 was just released (Github, Blog). Now
npm
is throwing error on update, need to use--force
or--legacy-peer-deps
to make it work.To Reproduce
Update all npm libraries to latest with
ncu -u
, then runnpm i
.Expected behavior
Should work without "force".
Additional context
Big question for me is how to make CapacitorJS v5 continue smoothly, so those users don't get an update error.
The text was updated successfully, but these errors were encountered: