Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use the latest version with expo #68

Open
humanityjs opened this issue Jun 16, 2023 · 8 comments
Open

Unable to use the latest version with expo #68

humanityjs opened this issue Jun 16, 2023 · 8 comments

Comments

@humanityjs
Copy link

humanityjs commented Jun 16, 2023

Have you read our Code of Conduct? By filing an Issue, you are expected to comply with it, including treating everyone with respect.

Description

I am getting this error after installing theflutterwave-react-native package in my expo project.

Screenshot 2023-06-16 at 11 57 57 AM

Steps to Reproduce

  1. Install Webview using npx expo install react-native-webview
  2. install Flutterwave package using yarn add flutterwave-react-native
  3. The app should crash and the error above should pop up.

Expected behaviour

Should work as expected.

Actual behaviour

It fails to work and crashes the app.

Reproduces how often

Configuration

  • API Version:
  • Environment:
  • Browser:
  • Language:

Additional Information

@kpose
Copy link
Contributor

kpose commented Jun 22, 2023

hello @humanityjs , you need to install react-native-webview in your project. More info.

@humanityjs
Copy link
Author

Hi @kpose . I have the latest version of react-native-webview installed.

@BenGabriel
Copy link

I am experiencing the same issue

@Gentlekboy
Copy link

@BenGabriel I fixed this by upgrading my react-native-webview library from "react-native-webview": "11.18.1" to "react-native-webview": "^13.3.1"

@Coding-Algorithm
Copy link

Please, can I anyone assist with the correct implementation syntax..

I followed the documentation but there is no popup showing..

@amalikmuhd
Copy link

Sure @Coding-Algorithm , what are you using react native or expo?

@HERYORDEJY
Copy link

@amalikmuhd Expo. In my case, the payment modal loads up. But when I cancel the payment process, it closes the modal and then Expo crashes.

@raphaelobinna
Copy link

Your issue is due to the version of RNCWebview you have, even if you install react-native-web-view, when your flutter wave package is installing, it can install a different version from what is specified in their dependency. To check this you can run

npm ls react-native-webview

to force all packages to use the same version of react-native-web-view

In your package.json, you can add

"resolutions": { "react-native-webview": "13.8.6" // or change to your expected version },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants