Skip to content

Capacitor v4 Support #47

@kristojorg

Description

@kristojorg

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):

  • OS: Mac OS Ventura
  • Browser N/A

Additional context
npm version 8+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions