diff --git a/patches/@mattermost+react-native-paste-input+0.8.1.patch b/patches/@mattermost+react-native-paste-input+0.8.1.patch new file mode 100644 index 0000000000..c0a895715e --- /dev/null +++ b/patches/@mattermost+react-native-paste-input+0.8.1.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/@mattermost/react-native-paste-input/android/src/main/java/com/mattermost/pasteinputtext/PasteTextInputManager.kt b/node_modules/@mattermost/react-native-paste-input/android/src/main/java/com/mattermost/pasteinputtext/PasteTextInputManager.kt +index 4ed2307..ede1181 100644 +--- a/node_modules/@mattermost/react-native-paste-input/android/src/main/java/com/mattermost/pasteinputtext/PasteTextInputManager.kt ++++ b/node_modules/@mattermost/react-native-paste-input/android/src/main/java/com/mattermost/pasteinputtext/PasteTextInputManager.kt +@@ -54,7 +54,7 @@ class PasteTextInputManager(context: ReactApplicationContext) : ReactTextInputMa + } + + override fun getExportedCustomBubblingEventTypeConstants(): MutableMap { +- val map = super.getExportedCustomBubblingEventTypeConstants()!! ++ val map = super.getExportedCustomBubblingEventTypeConstants().toMutableMap() + map["onPaste"] = MapBuilder.of( + "phasedRegistrationNames", + MapBuilder.of("bubbled", "onPaste")