-
Notifications
You must be signed in to change notification settings - Fork 119
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
Upgrade 0.63.4 to 0.64.2 - TypeError: Network request failed - Android #388
Comments
What version of You can get all your project dependencies by running |
From the screenshots above, it seems like you are using Could you try forcing the okhttp dependency in you main configurations.all {
resolutionStrategy.force 'com.squareup.okhttp3:okhttp:4.9.1'
} If that works, please also try to force the version to Thanks for your support! |
I have the same issue is there any fixes..? I have tried days |
@JeroenMols I have added your suggestion into the |
This ended up working for us. Turns out we were a few additional dependencies ended up conflicting with this package:
|
@quachdev i am facing the same issue, did you find any solution for this issue |
I also faced this issue and solved either using the
It looks like |
Closing because Plaid Link React Native 7.x.x is no longer supported. If the issue persists in the latest SDK please open a new issue. |
Description
When making any network request using
fetch
on Android I am immediately receivingTypeError: Network request failed
and the app crashes.This works fine on iOS and seems to be Android specific.
Downgrading to 0.63.4 works fine.
From flipper logs:
React Native version:
System:
OS: macOS 11.4
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Memory: 67.71 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 15.6.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 7.4.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
Android SDK:
API Levels: 28, 29, 30
Build Tools: 28.0.3, 29.0.2, 30.0.3, 31.0.0
System Images: android-28 | Google APIs Intel x86 Atom, android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
Android NDK: 22.1.7171670
IDEs:
Android Studio: 4.2 AI-202.7660.26.42.7351085
Xcode: 12.5/12E262 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_275 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.2 => 0.64.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
react-native-plaid-link-sdk: 7.0.6
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
yarn add react-native-plaid-link-sdk
fetch
TypeError: Network request failed
Expected Results
App should be able to make the network request and not crash from the result.
I originally posted this on the main react-native repo but, back tracing my steps I am very certain it's related to this package.
The text was updated successfully, but these errors were encountered: