File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ var jsonObject = {
28
28
// Modify the url or config here
29
29
jsonObject . url = url ;
30
30
if ( ! config || ! config . method ) {
31
- //TO-DO: set method to GET!
32
31
jsonObject . method = 'GET' ;
33
32
}
34
33
if ( config ) {
@@ -51,7 +50,7 @@ var jsonObject = {
51
50
response : function ( response ) {
52
51
// Modify the reponse object;
53
52
jsonObject . responseCode = response . status ;
54
- jsonObject . responseBody = response . _bodyText ;
53
+ jsonObject . responseBody = response . _bodyText ? response . _bodyText : '' ;
55
54
if ( Platform . OS === 'android' ) {
56
55
Instabug . networkLog ( JSON . stringify ( jsonObject ) ) ;
57
56
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " instabug-reactnative" ,
3
- "version" : " 8.0.11 " ,
3
+ "version" : " 8.0.12 " ,
4
4
"description" : " React Native plugin for integrating the Instabug SDK" ,
5
5
"main" : " index.js" ,
6
6
"repository" : {
You can’t perform that action at this time.
0 commit comments