GithubHelp home page GithubHelp logo

Comments (5)

lucianosantana avatar lucianosantana commented on July 29, 2024

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.

katzer avatar katzer commented on July 29, 2024

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.

lucianosantana avatar lucianosantana commented on July 29, 2024

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.

katzer avatar katzer commented on July 29, 2024

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.

lucianosantana avatar lucianosantana commented on July 29, 2024

Great ! Thank you

from cordova-plugin-email-composer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.