fix: Shared image links are now correctly handled on iOS

This commit is contained in:
Aman Harwara
2023-07-21 15:53:36 +05:30
parent 68db05581b
commit ab2e88a710
5 changed files with 64 additions and 33 deletions

View File

@@ -93,7 +93,10 @@ export class MobileWebReceiver {
)
break
case ReactNativeToWebEvent.ReceivedText:
void this.application.handleReceivedTextEvent(messageData as { text: string; title?: string })
void this.application.handleReceivedTextEvent(messageData as { text: string })
break
case ReactNativeToWebEvent.ReceivedLink:
void this.application.handleReceivedLinkEvent(messageData as { link: string; title: string })
break
default: