Comments (5)
I had the same exception and stacktrace when I tried to implement. When I omitted any references to the attachment array in my call to the compose method it started working.
from nativescript-email.
I get the same error on my 7.1.1 device.
Seems to be related to the body text.
The error goes away (and an email is composed) if I remove the EXTRA_TEXT.
Also tried EXTRA_HTML_TEXT but also not working.
from nativescript-email.
Can you share how you're invoking the plugin?
from nativescript-email.
i am using code
export class LoginDialog{
_emailEnvio: String;
_mensajeError:Boolean=false;
_mensaje:String;
constructor(private modal: ModalDialogParams,
private page:Page){
this.page.on("loaded", (args)=>{
(<any>args.object).backgroundColor="transparent"
});
this.page._dia
}
/**
* seleccionarEnviarCorreo
*/
public seleccionarLogin(args: TouchGestureEventData) {
let seleccion = args.action;
let grid = <GridLayout>args.object;
if (seleccion == "up") {
grid.backgroundColor = new Color("#e8bd4b");
} else {
grid.backgroundColor = new Color("#fecd4c");
}
}
from nativescript-email.
Same here today, with an empty array for attachments it throws
JS: Error in email.compose: Error: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.SENDTO typ=text/plain flg=0x10000000 (has extras) }
removing attachments fixes it.
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
- 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.