File tree Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1+ ## v8.4.4 (2019-07-08)
2+
3+ * Fixes an issue that causes the sdk to crash when a network request has no headers.
4+
15## v8.4.3 (2019-07-03)
26
37* Fixes an issue that caused Android release builds to fail when building on a Windows machine.
Original file line number Diff line number Diff line change 11# Instabug for React Native
22
3+ [ ![ CircleCI] ( https://circleci.com/gh/Instabug/Instabug-React-Native.svg?style=svg )] ( https://circleci.com/gh/Instabug/Instabug-React-Native )
34[ ![ npm] ( https://img.shields.io/npm/v/instabug-reactnative.svg )] ( https://www.npmjs.com/package/instabug-reactnative )
45[ ![ npm] ( https://img.shields.io/npm/dt/instabug-reactnative.svg )] ( https://www.npmjs.com/package/instabug-reactnative )
56[ ![ npm] ( https://img.shields.io/npm/l/instabug-reactnative.svg )] ( https://github.com/Instabug/instabug-reactnative/blob/master/LICENSE )
Original file line number Diff line number Diff line change 11{
22 "name" : " instabug-reactnative" ,
3- "version" : " 8.4.3 " ,
3+ "version" : " 8.4.4 " ,
44 "description" : " React Native plugin for integrating the Instabug SDK" ,
55 "main" : " index.js" ,
66 "types" : " index.d.ts" ,
Original file line number Diff line number Diff line change @@ -52,6 +52,10 @@ const XHRInterceptor = {
5252 var cloneNetwork = JSON . parse ( JSON . stringify ( network ) ) ;
5353 cloneNetwork . requestBody = data ? data : '' ;
5454
55+ if ( cloneNetwork . requestHeaders === '' ) {
56+ cloneNetwork . requestHeaders = { } ;
57+ }
58+
5559 if ( this . addEventListener ) {
5660 this . addEventListener (
5761 'readystatechange' ,
You can’t perform that action at this time.
0 commit comments