Skip to content

Share feature not working properly with Google Inbox #16002

@WaldoJeffers

Description

@WaldoJeffers

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

  1. react-native: 0.47.2
  2. node: 8.4.0
  3. npm: 5.3.0
  4. yarn: 0.27.5
  • Target Platform:
    iPhone 5/6/7, iOS 10.3.3
  • Development Operating System:
    macOS Sierra 10.12.6
  • Build tools:
    Xcode v8.3.3

Also, the Google Inbox version I'm using on my phone is 1.3.170813

Steps to Reproduce

  1. Create a button that uses the Share feature and set a distinct message & title, like this:
import {Share} from 'react-native';

Share.share({
    message: `message`,
    title: `title`
});
  1. Click on the button/trigger the share feature, and select Google Inbox
  2. Observe the email's subject and body

Expected Behavior

The email's subject should be filled with the title option's value. It's impossible to set up a correct email subject at the moment.

Actual Behavior

The title option is not used, and the email's subject is actually using the message option. The email body is entirely pasted to the email's subject field.

Reproducible Demo

Reproducible Snack demo

Additional info

I can share content using Inbox with other apps without problems, so I don't think it's a problem with Google Inbox itself.
Interestingly, there is a very similar issue on react-native-share's repo, and another one on this repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions