From 4cdeaaf2d1730535f43f56330298da215d3f7804 Mon Sep 17 00:00:00 2001 From: DevHossamHassan Date: Fri, 23 Jun 2017 00:19:21 +0200 Subject: [PATCH] Revert "Merge branch 'master' of https://github.com/Instabug/instabug-reactnative" This reverts commit f761baf7f95343bd6cfd743c967928d1909078e3, reversing changes made to 2197d300027693fc204e84b02bc3d141b2aca0a0. --- InstabugSample/index.ios.js | 11 +-- .../InstabugSample.xcodeproj/project.pbxproj | 41 ++++------ .../RNInstabugReactnativeModule.java | 2 +- index.js | 75 ++++++++----------- ios/RNInstabug/InstabugReactBridge.m | 38 +--------- 5 files changed, 50 insertions(+), 117 deletions(-) diff --git a/InstabugSample/index.ios.js b/InstabugSample/index.ios.js index ba7ebfed3..26092fdb9 100644 --- a/InstabugSample/index.ios.js +++ b/InstabugSample/index.ios.js @@ -28,7 +28,6 @@ export default class InstabugSample extends Component { constructor(props) { super(props); Instabug.startWithToken('0f0dc916bd9175e3b5d2fdf0cfa49a69', Instabug.invocationEvent.shake); - const ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2}); this.state = { dataSource: ds.cloneWithRows(this._genRows({})), @@ -62,8 +61,7 @@ export default class InstabugSample extends Component { "Unread messages count", "Set locale", "Set color theme", - "Set primary color", - "Show surveys" + "Set primary color" ]; return dataBlob; } @@ -87,8 +85,6 @@ export default class InstabugSample extends Component { this._showColorThemeActionSheet(); } else if (rowID == 7) { this._showPrimaryColorActionSheet(); - } else if (rowID == 8) { - this._showSurveys(); } } @@ -229,11 +225,6 @@ export default class InstabugSample extends Component { }); } - _showSurveys() { - console.log("show surveys") - Instabug.showSurveysIfAvailable() - } - _renderSeparator(sectionID: number, rowID: number, adjacentRowHighlighted: bool) { return (