35 Commits
Author SHA1 Message Date
Siddarth Kumar 6d28780dfe Merge branch 'master' of https://github.com/status-im/react-native-mail 2023-02-28 22:00:13 +05:30
Siddarth Kumar 6bdee9e2d0 add safeExtGet for compileSdkVersion 2023-02-28 21:57:14 +05:30
Ernestas 340618e4ef minSdkVersion bump (#187) 2021-11-22 15:20:51 -05:00
Geraint White 44d045f5a0 Fix not_available issue when targetSdkVersion = 30 (#175)
There are changes in Android 11 regarding how apps can query and interact with other apps https://developer.android.com/about/versions/11/privacy/package-visibility.
2021-03-29 09:16:40 -04:00
Robert Gardner 716f28e669 Support URI for attachment location. (#174)
* Support URI for attachment location.

* Add example path & uri to README comments.
2021-03-23 10:37:06 -04:00
Geraint White 940b80db3e Support multiple attachments on Android (#161) 2020-09-03 09:18:07 -04:00
Dominik Tenelsen d1474c3002 Add prop to change the title of IntentChooser on Android (#159)
* Allow custom IntentChooser Title on Android

* customChooserTitle prop added to example

* Add default value to comment in example
2020-08-25 08:34:20 -04:00
Dominik Tenelsen 5a28255173 Workaround for Android Multiple Attachments bug (#158)
this workaround allows to send one attachment in the current v5.
2020-08-25 08:29:25 -04:00
Dominik Tenelsen f9c89a69d0 Fix ArrayList Import (#152) 2020-05-26 11:00:46 -04:00
Vlad 268b16f655 Support multiple attachments and custom mimeType (#150)
* Support multiple attachments and custom mimeType

* Fix typo

* Add mimeType to README
2020-05-21 08:18:09 -04:00
Roman Volosovskyi 39d89fe27c Allow to attach file form cache 2019-05-09 12:11:54 +03:00
Mars Lan 5a5c862cb6 Replace deprecated 'compile' gradle configuration with 'implementation' (#122)
See http://d.android.com/r/tools/update-dependency-configurations.html for more details
2019-02-18 12:43:50 -05:00
Philip Heinser d6450640c7 update gradle to support rn 0.56 (#115) 2018-09-23 08:03:28 -04:00
nim23 bb24275edb Use the latest react native (#79) 2017-10-14 19:29:31 -04:00
Bahaa Jr 3a54fa3e20 Handling Android RN 0.47 breaking change (#70)
[facebook/react-native@ce6fb33](https://github.com/facebook/react-native/commit/ce6fb337a146e6f261f2afb564aa19363774a7a8)
2017-08-07 13:35:18 -04:00
David Vacca dc84992b6f fix 2016-09-27 12:58:09 -07:00
David Vacca ce3b6af9a4 fix 2016-09-26 21:48:58 -07:00
David Vacca 061590ac73 fix 2016-09-26 21:47:40 -07:00
David Vacca 881c66bf84 fix 2016-09-26 21:46:06 -07:00
David Vacca 4fa40f0bfc fix 2016-09-26 21:02:34 -07:00
David Vacca 8621e91554 fix permission problems in attachments 2016-09-26 20:59:14 -07:00
David Vacca fd4182c1d7 add basic support for HTML body in Android 2016-09-26 18:08:40 -07:00
Chirag Jain 466a240d85 fix method naming 2016-09-22 11:52:59 -04:00
Chirag 29b60b21a7 Merge pull request #34 from nesvold/add-attachment-support-for-android
Added basic attachment support for android
2016-09-22 11:48:29 -04:00
havnesvo 1a6e888fcb rename method to clarify intent. 2016-09-22 17:39:54 +02:00
havnesvo 9170b4d826 rename arr -> stringArray 2016-09-22 16:03:11 +02:00
Mike Lambert 394fe6f68f Add try/catch 2016-09-20 13:31:30 -04:00
Mike Lambert 13556359cd Merge branch 'master' of https://github.com/chirag04/react-native-mail 2016-09-20 13:13:56 -04:00
havnesvo 6c3d07ce4b Added basic attachment support for android 2016-08-17 10:19:01 +02:00
James Warwood 7f30259f34 Implement ccRecipients and bccRecipients for Android 2016-07-22 09:33:02 +08:00
Mike Lambert 4eb091fdb9 Don't offer a choice, if we really only have one option. 2016-05-28 02:01:57 -04:00
Nguyen Cao Nhat Linh c4d1bbabb4 Correct way to send Email Intent in Android
Using mimetype will trigger intent to many apps that are not mail client (Snapchat, Skype,... etc)
2016-03-09 18:15:26 -08:00
Richard de Wit ee136b4b32 Fixes Android error "illegal start of type"
Fixes Android compilation error:

```
:RNMail:processReleaseJavaRes UP-TO-DATE
:RNMail:compileReleaseJavaWithJavac
/path/to/project/node_modules/react-native-mail/android/src/main/java/com/chirag/RNMail/RNMail.java:19: illegal start of type
    List<NativeModule> modules = new ArrayList<>();
                                               ^
1 error
:RNMail:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':RNMail:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
```
2015-10-20 14:12:59 +02:00
chirag04 4655d7d79e send error callback when mail is not available 2015-09-30 16:36:48 -04:00
chirag04 54d0c2e312 add android support 2015-09-14 11:12:04 -04:00