capacitor-community / react-hooks

⚡️ React hooks for Capacitor ⚡️
Other
246 stars 22 forks source link

Capacitor v4 Support #47

Open kristojorg opened 1 year ago

kristojorg commented 1 year ago

Describe the bug When I run npm install with @capacitor-community/storage-react and @capacitor/core@4.3.0 in my package.json, I run in to a peer dependency error because @capacitor-community/storage-react requires @capacitor/core@">=3.0.0". If the hooks are compatible, we should simply update the peerDependencies list in each to add capacitor v4.

To Reproduce Steps to reproduce the behavior:

  1. set up a capacitor v4 project
  2. npm i @capacitor-community/storage-react
  3. See the peer dependency error in console

Expected behavior The package should install without errors.

Screenshots

image

Desktop (please complete the following information):

Additional context npm version 8+

samanthaandrews commented 1 year ago

I also ran into this issue recently and would like to upvote it 👍

nqasid commented 1 year ago

I guess we can assume this package has been abandoned? Unfortunate, if true.