Skip to content

Commit ff81603

Browse files
committed
fix (android): reporting network logs upon disabling w3c main feature flag
1 parent c110d1e commit ff81603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/instabug/reactlibrary/RNInstabugAPMModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ private void networkLogAndroid(final double requestStartTime,
344344

345345

346346
try {
347-
if (w3cAttributes.hasKey("isW3cHeaderFound")) {
347+
if (!w3cAttributes.isNull("isW3cHeaderFound")) {
348348
isW3cHeaderFound = w3cAttributes.getBoolean("isW3cHeaderFound");
349349
}
350350

0 commit comments

Comments
 (0)