Skip to content

Commit 54e8bd4

Browse files
javachefacebook-github-bot
authored andcommitted
Suppress deprecation error in ProgressResponseBody (facebook#49954)
Summary: Pull Request resolved: facebook#49954 We have a different version of OkHttp internally and in OSS so we need to suppress these for now. Changelog: [Internal] Reviewed By: Abbondanzo Differential Revision: D70975145 fbshipit-source-id: cd2a3ab5cdc52f25c78cb608e917fa3ca378e4f1
1 parent cf39e61 commit 54e8bd4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/network/ProgressResponseBody.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
@file:Suppress("DEPRECATION_ERROR") // Conflicting okhttp versions
9+
810
package com.facebook.react.modules.network
911

1012
import java.io.IOException

0 commit comments

Comments
 (0)