Code Monkey home page Code Monkey logo

Comments (10)

ShaharyarMaroof avatar ShaharyarMaroof commented on June 13, 2024 2

@zsweigart I updated the sdk-core reference to 1.0.2 but it is still crashing without the following lines

implementation "com.squareup.okhttp3:okhttp:4.2.1"
implementation "com.squareup.okhttp3:logging-interceptor:4.2.1"
implementation "com.squareup.okhttp3:okhttp-urlconnection:4.2.1"

from react-native-plaid-link-sdk.

zsweigart avatar zsweigart commented on June 13, 2024 1

Hi @ShaharyarMaroof and @jd20

After some investigation we've seen that the core Facebook React Native library specifies an exact dependency for com.squareup.okhttp3:okhttp-urlconnection:3.12.1. See the Facebook React Native library here.

Our React Native sdk is a wrapper around our native android sdk which requires com.squareup.okhttp3:okhttp-urlconnection:4.+ so it transitively depends on version 4.+.

A work around is to add

implementation "com.squareup.okhttp3:okhttp-urlconnection:4.+"

To your app level build.gradle file (right below the implementation 'com.plaid.link:sdk-core:2.0.0' line).

We will look into a long term solution but for now this should work.

from react-native-plaid-link-sdk.

ShaharyarMaroof avatar ShaharyarMaroof commented on June 13, 2024

Solved my error by using the solution mentioned in this issue.

from react-native-plaid-link-sdk.

zsweigart avatar zsweigart commented on June 13, 2024

Hi @ShaharyarMaroof

Are you using the latest version of the android sdk internally in your android app build.gradle file:
implementation 'com.plaid.link:sdk-core:1.0.2'

from react-native-plaid-link-sdk.

ShaharyarMaroof avatar ShaharyarMaroof commented on June 13, 2024

Hey @zsweigart I followed the documentation guide to set it up, where it says to use 1.0.0. Link. I'll try it with your command as well and let you know if it solves the problem. Thanks

from react-native-plaid-link-sdk.

JeroenMols avatar JeroenMols commented on June 13, 2024

We are currently unable to reproduce this, but it seems like a dependency conflict between our transitive dependencies and other dependencies that you are using.

This quarter we are looking into reducing (and relaxing) our transitive dependencies, so we'll get back to this once that is shipped.

from react-native-plaid-link-sdk.

zsweigart avatar zsweigart commented on June 13, 2024

Hi @ShaharyarMaroof we have released a new version today 3.3.0 with some of the improvements @JeroenMols mentioned above. Please let us know if this resolves your issue

from react-native-plaid-link-sdk.

JeroenMols avatar JeroenMols commented on June 13, 2024

@ShaharyarMaroof would you be so kind to test with the latest SDK version and see if your issue still persists?

from react-native-plaid-link-sdk.

jd20 avatar jd20 commented on June 13, 2024

I'm using 3.3.2 of the Plaid SDK, and also seeing this same issue. It happens consistently for a handful of Android devices, not all.

from react-native-plaid-link-sdk.

zsweigart avatar zsweigart commented on June 13, 2024

Closing due to inactivity, please reopen if you still have the issue when upgrading okhttp3 and the link sdk

from react-native-plaid-link-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.