mirror of
https://github.com/status-im/instabug-reactnative.git
synced 2025-03-03 14:40:54 +00:00
Removing discarded methods
This commit is contained in:
parent
cabacb6222
commit
1b548dc77d
@ -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({})),
|
||||
|
@ -1,3 +1,3 @@
|
||||
target 'InstabugSample' do
|
||||
pod 'Instabug', '~> 7.0.0'
|
||||
pod 'Instabug', '7.2.5'
|
||||
end
|
||||
|
29
index.js
29
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user