Skip to content

Commit d58884a

Browse files
committed
šŸ› fix network requests crash on ios because network logging is not implemented yet
1 parent b1ea77b commit d58884a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ā€Žindex.jsā€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ var jsonObject = {
5252
// Modify the reponse object;
5353
jsonObject.responseCode = response.status;
5454
jsonObject.responseBody = response._bodyText;
55-
Instabug.networkLog(JSON.stringify(jsonObject));
55+
if (Platform.OS === 'android') {
56+
Instabug.networkLog(JSON.stringify(jsonObject));
57+
}
5658
return response;
5759
}
5860
});

0 commit comments

Comments
Ā (0)