diff --git a/InstabugSample/index.ios.js b/InstabugSample/index.ios.js index 84a9778..26092fd 100644 --- a/InstabugSample/index.ios.js +++ b/InstabugSample/index.ios.js @@ -27,7 +27,7 @@ export default class InstabugSample extends Component { constructor(props) { super(props); - Instabug.startWithToken('0f0dc916bd9175e3b5d2fdf0cfa49a69', Instabug.invocationEvent.floatingButton); + Instabug.startWithToken('0f0dc916bd9175e3b5d2fdf0cfa49a69', Instabug.invocationEvent.shake); const ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2}); this.state = { dataSource: ds.cloneWithRows(this._genRows({})), diff --git a/InstabugSample/ios/Podfile b/InstabugSample/ios/Podfile index 13051fb..cce5295 100644 --- a/InstabugSample/ios/Podfile +++ b/InstabugSample/ios/Podfile @@ -1,3 +1,3 @@ target 'InstabugSample' do - pod 'Instabug', '~> 7.0.0' + pod 'Instabug', '7.2.5' end diff --git a/index.js b/index.js index c978862..317adaf 100644 --- a/index.js +++ b/index.js @@ -474,35 +474,6 @@ module.exports = { Instabug.isInstabugNotification(dict, isInstabugNotificationCallback); }, - /** - * Add file to attached files with each report being sent. - * A new copy of the file at fileURL will be attached with each bug report being sent. The file is only copied - * at the time of sending the report, so you could safely call this API whenever the file is available on disk, and the copy - * attached to your bug reports will always contain that latest changes at the time of sending the report. - * - * Each call to this method adds the file to the files attached, until a maximum of 3 then it overrides the first file. - * The file has to be available locally at the provided path when the report is being sent. - * @param {string} stringURL Path to a file that's going to be attached to each report. - */ - - // addFileAttachment: function(stringURL) { - // if (Platform.OS == 'ios') { - // Instabug.addFileAttachment(stringURL); - // } - // }, - - /** - * Clear list of files to be attached with each report. - * This method doesn't delete any files from the file system. It will just removes them for the list of files - * to be attached with each report. - */ - - // clearFileAttachments: function() { - // if (Platform.OS == 'ios') { - // Instabug.clearFileAttachments(); - // } - // }, - /** * Shows/Hides email field. * Defaults to show email field.