File tree Expand file tree Collapse file tree 3 files changed +2
-31
lines changed Expand file tree Collapse file tree 3 files changed +2
-31
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export default class InstabugSample extends Component {
27
27
28
28
constructor ( props ) {
29
29
super ( props ) ;
30
- Instabug . startWithToken ( '0f0dc916bd9175e3b5d2fdf0cfa49a69' , Instabug . invocationEvent . floatingButton ) ;
30
+ Instabug . startWithToken ( '0f0dc916bd9175e3b5d2fdf0cfa49a69' , Instabug . invocationEvent . shake ) ;
31
31
const ds = new ListView . DataSource ( { rowHasChanged : ( r1 , r2 ) => r1 !== r2 } ) ;
32
32
this . state = {
33
33
dataSource : ds . cloneWithRows ( this . _genRows ( { } ) ) ,
Original file line number Diff line number Diff line change 1
1
target 'InstabugSample' do
2
- pod 'Instabug' , '~> 7.0.0 '
2
+ pod 'Instabug' , '7.2.5 '
3
3
end
Original file line number Diff line number Diff line change @@ -474,35 +474,6 @@ module.exports = {
474
474
Instabug . isInstabugNotification ( dict , isInstabugNotificationCallback ) ;
475
475
} ,
476
476
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
-
506
477
/**
507
478
* Shows/Hides email field.
508
479
* Defaults to show email field.
You can’t perform that action at this time.
0 commit comments