Skip to content

Commit b989138

Browse files
committed
Cleaning up public files
1 parent 1c3d1b3 commit b989138

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11

22
# instabug-reactnative
33

4-
## Getting started
4+
## Installation
55

66
`$ npm install https://github.com/Instabug/instabug-reactnative --save`
77

8-
### Mostly automatic installation
9-
108
`$ rnpm link instabug-reactnative`
119

12-
### Manual installation
13-
14-
1510
#### iOS
1611

1712
1. Open your app `.xcodeproj` file
@@ -20,7 +15,7 @@
2015
4. 3. In XCode, in the project navigator, select your project. Add `instabug.bundle` to your project's `Build Phases``Copy Bundle Resources`
2116
5. Run your project (`Cmd+R`)<
2217

23-
#### Android
18+
#### Android (Pending)
2419

2520
1. Open up `android/app/src/main/java/[...]/MainActivity.java`
2621
- Add `import com.instabug.reactlibrary.RNInstabugReactnativePackage;` to the imports at the top of the file

index.ios.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ module.exports = {
5959
* @param {string} fileLocation Path to a file that's going to be attached
6060
* to each report.
6161
*/
62-
// Not yet testsed
6362
setFileAttachment: function(fileLocation) {
6463
Instabug.setFileAttachment(fileLocation);
6564
},
@@ -79,7 +78,6 @@ module.exports = {
7978
* Adds custom logs that will be sent with each report.
8079
* @param {string} log Message to be logged.
8180
*/
82-
// Needs renaming
8381
IBGLog: function(log) {
8482
Instabug.IBGLog(log);
8583
},
@@ -167,7 +165,6 @@ module.exports = {
167165
* shown or not. Passing YES will show screenshot view for both feedback and
168166
* bug reporting, while passing NO will disable it for both.
169167
*/
170-
// Doesn't work on existing SDK
171168
setWillSkipScreenshotAnnotation: function(willSkipeScreenshotAnnotation) {
172169
Instabug.setWillSkipScreenshotAnnotation(willSkipeScreenshotAnnotation);
173170
},
@@ -200,7 +197,6 @@ module.exports = {
200197
* @param {boolean} isPushNotificationEnabled A boolean to indicate whether push
201198
* notifications are enabled or disabled.
202199
*/
203-
// Not tested
204200
setPushNotificationsEnabled: function(isPushNotificationEnabled) {
205201
Instabug.setPushNotificationsEnabled(isPushNotificationEnabled);
206202
},
@@ -354,7 +350,6 @@ module.exports = {
354350
* @param {boolean} isChatNotificationEnabled A boolean to set whether
355351
* notifications are enabled or disabled.
356352
*/
357-
// Not tested
358353
setChatNotificationEnabled: function(isChatNotificationEnabled) {
359354
Instabug.setChatNotificationEnabled(isChatNotificationEnabled);
360355
},
@@ -374,7 +369,6 @@ module.exports = {
374369
* @param {boolean} chatEnabled A boolean to indicate whether chat is enabled
375370
* or disabled.
376371
*/
377-
// TODO: investigate doing it in more like JS pattern
378372
setPromptOptions: function(isBugReportingEnabled, isFeedbackReportingEnabled, isChatEnabled) {
379373
Instabug.setPromptOptions(isBugReportingEnabled, isFeedbackReportingEnabled, isChatEnabled);
380374
},

0 commit comments

Comments
 (0)