Expo Sharing or Expo Intent - Sent string

  await Sharing.shareAsync(cUri, { // how to sent not uri but just string
    mimeType: "hui/string",
    dialogTitle: "dsfsdefsgdfrgdgrdgfrdg"
  IntentLauncher.startActivityAsync('action.DATA', {
    type: "text/json",
    data: content,
    flags: 1,

How to send string from expo?

Ok, I got it

await IntentLauncher.startActivityAsync("SOME_ACTION", {
type: "text/simple",
extra: {
"someExtra": "some text"

and in native JAVA:
Serializable extra = intent.getSerializableExtra("someExtra);```
1 Like

Ah, I see you’ve found IntentLauncher :slight_smile:

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.