Skip to content

Commit 48d1be9

Browse files
🐛 Fix string mapping for addVideoMessage
- Fixes string mapping for addVideoMessage in iOS in accordance with the existing Android key
1 parent a1c845b commit 48d1be9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

android/src/main/java/com/instabug/reactlibrary/ArgsRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ static void registerCustomTextPlaceHolderKeysArgs(Map<String, Object> args) {
183183
args.put("voiceMessageReleaseToAttach", InstabugCustomTextPlaceHolder.Key.VOICE_MESSAGE_RELEASE_TO_ATTACH);
184184
args.put("reportSuccessfullySent", InstabugCustomTextPlaceHolder.Key.REPORT_SUCCESSFULLY_SENT);
185185
args.put("successDialogHeader", InstabugCustomTextPlaceHolder.Key.SUCCESS_DIALOG_HEADER);
186-
args.put("addVideo", InstabugCustomTextPlaceHolder.Key.ADD_VIDEO);
186+
args.put("addVideoMessage", InstabugCustomTextPlaceHolder.Key.ADD_VIDEO);
187187
args.put("betaWelcomeMessageWelcomeStepTitle", InstabugCustomTextPlaceHolder.Key.BETA_WELCOME_MESSAGE_WELCOME_STEP_TITLE);
188188
args.put("betaWelcomeMessageWelcomeStepContent", InstabugCustomTextPlaceHolder.Key.BETA_WELCOME_MESSAGE_WELCOME_STEP_CONTENT);
189189
args.put("betaWelcomeMessageHowToReportStepTitle", InstabugCustomTextPlaceHolder.Key.BETA_WELCOME_MESSAGE_HOW_TO_REPORT_STEP_TITLE);

android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
181181
private final String ADD_VOICE_MESSAGE = "addVoiceMessage";
182182
private final String ADD_IMAGE_FROM_GALLERY = "addImageFromGallery";
183183
private final String ADD_EXTRA_SCREENSHOT = "addExtraScreenshot";
184-
private final String ADD_VIDEO = "addVideo";
184+
private final String ADD_VIDEO = "addVideoMessage";
185185

186186
private final String AUDIO_RECORDING_PERMISSION_DENIED = "audioRecordingPermissionDenied";
187187

ios/RNInstabug/InstabugReactBridge.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ - (NSDictionary *)constantsToExport
832832
@"emailFieldHint": kIBGEmailFieldPlaceholderStringName,
833833
@"commentFieldHintForBugReport": kIBGCommentFieldPlaceholderForBugReportStringName,
834834
@"commentFieldHintForFeedback": kIBGCommentFieldPlaceholderForFeedbackStringName,
835-
@"addScreenRecordingMessage": kIBGAddScreenRecordingMessageStringName,
835+
@"addVideoMessage": kIBGAddScreenRecordingMessageStringName,
836836
@"addVoiceMessage": kIBGAddVoiceMessageStringName,
837837
@"addImageFromGallery": kIBGAddImageFromGalleryStringName,
838838
@"addExtraScreenshot": kIBGAddExtraScreenshotStringName,

0 commit comments

Comments
 (0)