Closed geraintwhite closed 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
+1 facing the same issue
I've released v6.0.1
. Please update to the latest, should be fixed now!
This didn't actually fix the issue because "react-redux": "^7.0.0"
is in the dependencies of react-native-offline
, thus forcing this version to be included and conflicting with any other versions included by the app.
A workaround for app developers is to use the npm overrides feature with "react-redux": "$react-redux"
to force the same version of react-redux
throughout.
Good point.
I have decided to relax the constraints of dependencies, to mirror peer dependencies. I still prefer to have those dependencies and avoid people installing extra libraries, like react-redux
in case they don't need it.
@grit96 v.6.0.2
is released. Let me know!
@rgommezz hi, why 6.0.2 not listed in releases on github?
Current Behavior
Because
react-redux
is pinned to^7.0.0
in dependencies it means that an application usingreact-native-offline
is unable to use a newer major version ofreact-redux
(e.g. v8) due to mismatched versions resulting in this issue.Expected Behavior
The application should be able to use newer major versions of react-redux.
How to reproduce
Run app using react-native-offline 6.x and react-redux 8.x
Your Environment