Flutterwave / React-Native

React Native library for Flutterwave for Business (F4B) v2 and v3 APIs.
https://developer.flutterwave.com/
MIT License
6 stars 13 forks source link

RNCWebview conflict patch #41

Open victorighalo opened 2 years ago

victorighalo commented 2 years ago

There is a conflict with React Native Webview when a project has it installed is causes a conflict

Solution is to Move

  "dependencies": {
    "react-native-webview": ">=6.0.2"
  },

to


  "peerDependencies": {
    "react-native-webview": "*"
  },
thecodecafe commented 2 years ago

Hi @victorighalo, this is great, we currently have the library only tested and verified to work correctly on WebView 6.0.2 and above, an adjustment you may need to make is to change the version required to the following.

  "peerDependencies": {
    "react-native-webview": ">=6.0.2"
  },

Once that's done we should be good to go.

stephenson080 commented 1 year ago

yeah this have a conflict with the root react-native-webview package. please approve this