Currently the @capacitor/core dependency of the SDK is set to ^7.0.0, which causes dependency errors with Capacitor 8 projects (since the ^ prefix only matches the current major version):
code ERESOLVE
ERESOLVE unable to resolve dependency tree
While resolving: mytestapp@1.1.0
Found: @capacitor/core@8.3.1
node_modules/@capacitor/core
@capacitor/core@"8.3.1" from the root project
Could not resolve dependency:
peer @capacitor/core@"^7.0.0" from @onesignal/capacitor-plugin@1.0.1
node_modules/@onesignal/capacitor-plugin
@onesignal/capacitor-plugin@"*" from the root project
This dependency mismatch can be ignored using npm i --force, but to properly support Capacitor 7+ rather than just 7, shouldn't the dependency be set as >=7.0.0 rather than ^7.0.0?
Currently the
@capacitor/coredependency of the SDK is set to^7.0.0, which causes dependency errors with Capacitor 8 projects (since the^prefix only matches the current major version):This dependency mismatch can be ignored using
npm i --force, but to properly support Capacitor 7+ rather than just 7, shouldn't the dependency be set as>=7.0.0rather than^7.0.0?