Skip to content

Commit 1b548dc

Browse files
committed
Removing discarded methods
1 parent cabacb6 commit 1b548dc

File tree

3 files changed

+2
-31
lines changed

3 files changed

+2
-31
lines changed

InstabugSample/index.ios.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default class InstabugSample extends Component {
2727

2828
constructor(props) {
2929
super(props);
30-
Instabug.startWithToken('0f0dc916bd9175e3b5d2fdf0cfa49a69', Instabug.invocationEvent.floatingButton);
30+
Instabug.startWithToken('0f0dc916bd9175e3b5d2fdf0cfa49a69', Instabug.invocationEvent.shake);
3131
const ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2});
3232
this.state = {
3333
dataSource: ds.cloneWithRows(this._genRows({})),

InstabugSample/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
target 'InstabugSample' do
2-
pod 'Instabug', '~> 7.0.0'
2+
pod 'Instabug', '7.2.5'
33
end

index.js

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -474,35 +474,6 @@ module.exports = {
474474
Instabug.isInstabugNotification(dict, isInstabugNotificationCallback);
475475
},
476476

477-
/**
478-
* Add file to attached files with each report being sent.
479-
* A new copy of the file at fileURL will be attached with each bug report being sent. The file is only copied
480-
* at the time of sending the report, so you could safely call this API whenever the file is available on disk, and the copy
481-
* attached to your bug reports will always contain that latest changes at the time of sending the report.
482-
*
483-
* Each call to this method adds the file to the files attached, until a maximum of 3 then it overrides the first file.
484-
* The file has to be available locally at the provided path when the report is being sent.
485-
* @param {string} stringURL Path to a file that's going to be attached to each report.
486-
*/
487-
488-
// addFileAttachment: function(stringURL) {
489-
// if (Platform.OS == 'ios') {
490-
// Instabug.addFileAttachment(stringURL);
491-
// }
492-
// },
493-
494-
/**
495-
* Clear list of files to be attached with each report.
496-
* This method doesn't delete any files from the file system. It will just removes them for the list of files
497-
* to be attached with each report.
498-
*/
499-
500-
// clearFileAttachments: function() {
501-
// if (Platform.OS == 'ios') {
502-
// Instabug.clearFileAttachments();
503-
// }
504-
// },
505-
506477
/**
507478
* Shows/Hides email field.
508479
* Defaults to show email field.

0 commit comments

Comments
 (0)