Comments (5)
It seems there is a general limitation with html on Android. I'm also trying to add an < img > to the email body, without success. Besides the header tags < h1 >, < h2 >, < h3 > , etc , are being replaced by < b > tag . This behaviour happens both with Android's default mail app and with Gmail app . On iOS I don't experience this issue.
from cordova-plugin-email-composer.
Hi @Menighin, thanks for your hints.
1 - I can't use CSS on the email body. It simply doesn't apply any style.
2 - I can't get the img tag (< img >) to work! It just shows me "Obj" on the email (using android with gmail client). How am I suppose to put the image file path?
See https://github.com/katzer/cordova-plugin-email-composer#html-and-css-on-android
3 - The plugin causes lost of context which means after the user selects to send the email and come back to the app, the app is restarted, which is not interesting in my case for the user should be able to select another data to send.
That behavior is controlled by the app/activity, not the plugin.
from cordova-plugin-email-composer.
Hi @katzer ! Thank you for the reply. But, what about the behaviour I reported ? I still can't get < img src="..." > to work (without any style or class attributes) . Also the header tags aren't working properly.
from cordova-plugin-email-composer.
Hello @lucianosantana, within the next version(s) the plugin will ship its own Html.ImageGetter.
Only Android knows why it does not load images itself...
from cordova-plugin-email-composer.
Great ! Thank you
from cordova-plugin-email-composer.
Related Issues (20)
- How to attach files in iOS? HOT 1
- 'Cordova/CDVAvailability.h' file not found HOT 1
- How to handle email sent or not ? HOT 1
- Application crush after try to open client HOT 27
- cordova-plugin-email-composer does not work on iOS 13+ HOT 26
- Email Composer not working for IOS 13+ HOT 5
- Failed to build in ionic project HOT 5
- On Android 11, emailComposer.open() do nothing nor call error HOT 9
- Calling .open() crushes the app with targetSdk set to 30 on Android HOT 17
- Attachments problem in Outlook HOT 7
- Closing the dialog by clicking outside of it does not complete the promise (iOS) HOT 1
- Crash on Samsung Galaxy A12 / Android 11 HOT 4
- Queries are not added to AndroidManifest.xml HOT 18
- package androidx.core.content does not exist Android HOT 5
- able to Open only mail in ios HOT 3
- EmailComposer.getPlugin.getClients is not a function
- Runtime exception HOT 3
- App getting crash as getEmailClientIds() return zero HOT 5
- Email blocked in outbox on mail app (iPhone) HOT 1
- java.lang.RuntimeException: Unable to start activity ComponentInfo{...}, Failed to create webview. HOT 3
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 cordova-plugin-email-composer.