Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to exclude Paypal from email chooser list? (Android) #188

Open
Kamilsw1 opened this issue Dec 7, 2021 · 0 comments
Open

How to exclude Paypal from email chooser list? (Android) #188

Kamilsw1 opened this issue Dec 7, 2021 · 0 comments

Comments

@Kamilsw1
Copy link

Kamilsw1 commented Dec 7, 2021

Library works as expected but PayPal app is in the list of email clients.

On clicking PayPal, if the paypal app is running in background, it just opens Paypal, otherwise does nothing.

The code I'm using:

Mailer.mail(
      {
        subject: 'subject',
        recipients: ['[email protected]'],
        body: 'test',
        customChooserTitle: 'subject', // Android only (defaults to "Send Mail")
      },
      (error, event) => {
        if (error) {
          Alert.alert(
            error,
            'error',
            [
              {
                text: 'OK',
                onPress: () => console.log('OK Pressed on error'),
              },
            ],
          );
        }
      },
    );

paypapl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant