You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 16, 2019. It is now read-only.
I just updated to 0.9.2 and I am having the following error when compiling.
android\src\main\java\com\RNFetchBlob\RNFetchBlobBody.java:107: error: method contentLength() is already defined in class RNFetchBlobBody public long contentLength() { ^ Note: Some input files use or override a deprecated API.
There's duplicated code in the RNFetchBlobBody.java at lines 97 and 107
The text was updated successfully, but these errors were encountered:
Hi @Kaishley , thanks for reporting this issue. I think this only happens on react-native < 0.27 since the older OkHttp does not support overriding contentLength method.
The reason why we override contentLength is addressed in #94 , therefore I think to fix this problem by change prelink script is a much preferable way 👍
@Kaishley , a new version 0.9.3 is published to npm, please try to install the updated package, feel free file an issue if there's any problem, thank you 😏
Hi,
I just updated to 0.9.2 and I am having the following error when compiling.
android\src\main\java\com\RNFetchBlob\RNFetchBlobBody.java:107: error: method contentLength() is already defined in class RNFetchBlobBody public long contentLength() { ^ Note: Some input files use or override a deprecated API.
There's duplicated code in the RNFetchBlobBody.java at lines 97 and 107
The text was updated successfully, but these errors were encountered: