Skip to content

Commit

Permalink
✨ Add change collecting data text enum
Browse files Browse the repository at this point in the history
  • Loading branch information
salmatarzi committed Oct 25, 2017
1 parent 8390f31 commit 510412e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ module.exports = {

/**
* @param enabled true to show success dialog after submitting a bug report
*
*
*/
setSuccessDialogEnabled: function(enabled) {
Instabug.setSuccessDialogEnabled(enabled);
Expand Down Expand Up @@ -936,6 +936,7 @@ module.exports = {
team: Instabug.team,
messageNotification: Instabug.messageNotification,
messagesNotificationAndOthers: Instabug.messagesNotificationAndOthers,
conversationTextFieldHint: Instabug.conversationTextFieldHint
conversationTextFieldHint: Instabug.conversationTextFieldHint,
collectingDataText: Instabug.collectingDataText
}
};
9 changes: 5 additions & 4 deletions ios/RNInstabug/InstabugReactBridge.m
Original file line number Diff line number Diff line change
Expand Up @@ -431,10 +431,11 @@ - (NSDictionary *)constantsToExport
@"screenRecording": @(IBGStringScreenRecording),
@"image": @(IBGStringImage),
@"surveyEnterYourAnswer": @(IBGStringSurveyEnterYourAnswerPlaceholder),
@"surveyNoAnswerTitle": @(kIBGStringSurveyNoAnswerTitle),
@"surveyNoAnswerMessage": @(kIBGStringSurveyNoAnswerMessage),
@"surveySubmitTitle": @(kIBGStringSurveySubmitTitle),
@"videPressRecord": @(kIBGStringVideoPressRecordTitle)
@"surveyNoAnswerTitle": @(IBGStringSurveyNoAnswerTitle),
@"surveyNoAnswerMessage": @(IBGStringSurveyNoAnswerMessage),
@"surveySubmitTitle": @(IBGStringSurveySubmitTitle),
@"videPressRecord": @(IBGStringVideoPressRecordTitle),
@"collectingDataText": @(IBGStringCollectingDataText)
};
};

Expand Down
9 changes: 5 additions & 4 deletions ios/RNInstabug/RCTConvert+InstabugEnums.m
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,10 @@ @implementation RCTConvert (InstabugEnums)
@"screenRecording": @(IBGStringScreenRecording),
@"image": @(IBGStringImage),
@"surveyEnterYourAnswer": @(IBGStringSurveyEnterYourAnswerPlaceholder),
@"surveyNoAnswerTitle": @(kIBGStringSurveyNoAnswerTitle),
@"surveyNoAnswerMessage": @(kIBGStringSurveyNoAnswerMessage),
@"surveySubmitTitle": @(kIBGStringSurveySubmitTitle),
@"videPressRecord": @(kIBGStringVideoPressRecordTitle)
@"surveyNoAnswerTitle": @(IBGStringSurveyNoAnswerTitle),
@"surveyNoAnswerMessage": @(IBGStringSurveyNoAnswerMessage),
@"surveySubmitTitle": @(IBGStringSurveySubmitTitle),
@"videPressRecord": @(IBGStringVideoPressRecordTitle),
@"collectingDataText": @(IBGStringCollectingDataText)
}), IBGStringShakeHint, integerValue);
@end

0 comments on commit 510412e

Please sign in to comment.