Comments (6)
Ok. I think I have found the problem. It seems to work only if you have an attachment.
So, to fix the problem I moved
mail.setType("message/rfc822");
mail.setAction(android.content.Intent.ACTION_SEND_MULTIPLE);
out of the if (arg.attachments) {.... section in email.android.js and it now works with or without attachments.
from nativescript-email.
Hey @NicoleZA thanks for reporting this!
Since I don't have an Android 6 device... can you do me a favor and check if it would also work if you reverted your local changes and only commented out this line? I don't think that should be there.
Thanks!
Eddy
from nativescript-email.
OK. Sure. I have left the office, but will test it Monday and let you know
On 19 Aug 2016 2:39 PM, "Eddy Verbruggen" [email protected] wrote:
Hey @NicoleZA https://github.com/NicoleZA thanks for reporting this?
Since I don't have an Android 6 device... can you do me a favor and check
if it would also work if you reverted your local changes and only commented
out this line
https://github.com/EddyVerbruggen/nativescript-email/blob/master/email.android.js#L57?
I don't think that should be there.Thanks!
Eddy—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#4 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGPYvc1WU02xTskspHeKSKRvKHXKTFvUks5qhaQWgaJpZM4JoWHJ
.
from nativescript-email.
👍 Thanks in advance!
from nativescript-email.
I tried what you suggested, but it didn't work.
however
I did delete that line but also still moved this code above the if (arg.attachments) { line
mail.setType("message/rfc822"); mail.setAction(android.content.Intent.ACTION_SEND_MULTIPLE);
and this works
from nativescript-email.
Thanks Nicole, really appreciate you testing this. I'm releasing 1.3.1 with your suggested fix.
from nativescript-email.
Related Issues (20)
- Image CID?
- Hint not showing on iOS? HOT 4
- More restrictive emailapp filtering HOT 1
- Set new activity flag for Android
- AndroidRuntimeException HOT 1
- android.intent.action.SENDTO HOT 5
- Attachments not working. HOT 5
- Cannot read property 'toString' of null when running on android 5 HOT 2
- Not working when Webpacked on Android
- Support for "markingMode" flag
- IOS: Email compose not opening when called from modal HOT 5
- HTML support in composed email HOT 1
- Module not found: Error: Can't resolve 'nativescript-email' HOT 1
- Cannot use compose when presented from a modal view on iOS HOT 1
- Attaching PDFs HOT 9
- ios device available() returns false
- Don't cache the availability check
- open email client HOT 1
- email.available not working properly on iPad Pro (4th generation)
- Error when being used with NativeScript version 8 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-email.