react-native-mail icon indicating copy to clipboard operation
react-native-mail copied to clipboard

Gmail app - attachment doesn't work

Open wojciechnowaczyk opened this issue 4 years ago • 3 comments

Hi! Plugin works fine with Android Mail App and with old Gmail apps. Unfortunately, there is a problem with attachment in the latest Android version and latest Gmail App. Gmail app opens but there is an error with attachment - it doesn't attach any files. Have you ever had similar problem? Thanks!

wojciechnowaczyk avatar Jan 04 '21 14:01 wojciechnowaczyk

Any updates on this? Having the same problem.

deborahshd avatar Mar 16 '21 08:03 deborahshd

Make sure to update to the latest version of this library and put this in your AndroidManifest.xml

<queries> <intent> <action android:name="android.intent.action.SEND_MULTIPLE" /> <data android:mimeType="*/*" /> </intent> </queries>

Also note that in the latest version the "attachment" attribute is now an "attachments" array.

skicson avatar Mar 16 '21 15:03 skicson

Fixed by https://github.com/chirag04/react-native-mail/pull/175

geraintwhite avatar Mar 30 '21 07:03 geraintwhite