feat: On Android, you can now share text & files from other apps directly into Standard Notes (#2352)
This commit is contained in:
@@ -83,6 +83,18 @@ export class MobileWebReceiver {
|
||||
messageData as { height: number; contentHeight: number },
|
||||
)
|
||||
break
|
||||
case ReactNativeToWebEvent.ReceivedFile:
|
||||
void this.application.handleReceivedFileEvent(
|
||||
messageData as {
|
||||
name: string
|
||||
mimeType: string
|
||||
data: string
|
||||
},
|
||||
)
|
||||
break
|
||||
case ReactNativeToWebEvent.ReceivedText:
|
||||
void this.application.handleReceivedTextEvent(messageData as { text: string; title?: string })
|
||||
break
|
||||
|
||||
default:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user