Git Product home page Git Product logo

Comments (6)

tih95 avatar tih95 commented on May 12, 2024

@UAjinkya Hey im running into the same issue, have you found a solution to this?

from capacitor-email-composer.

UAjinkya avatar UAjinkya commented on May 12, 2024

Hi @tih95 ,I have not found solution instead I am using simple window.open("mailto:"+emailTo+'?cc='+emailCC+'&subject='+emailSub+'&body='+emailBody)

from capacitor-email-composer.

EinfachHans avatar EinfachHans commented on May 12, 2024

I will try to address this as soon as i can - so less time atm 😩

from capacitor-email-composer.

mariusbolik avatar mariusbolik commented on May 12, 2024

Here is some information from sentry about device type and os. Maybe this helps a bit :)
Bildschirmfoto 2023-11-08 um 20 03 14

from capacitor-email-composer.

EinfachHans avatar EinfachHans commented on May 12, 2024

Hey everybody,

just wanted to fix that, but it looks like the ios interface doesn't respects the default mail app at all. Thats what i found in the documentation and what i experience in my demo app: I changed the default app and opening the email composer works quite well.

So i guess the issue appears when a user has delete the apple mail app on his device. You don't check that with hasAccount before trying to open the mail composer.

Now how to improve this? Good question. A lot of people just use a mailto link, which works with the default, but can't be implemented in this plugin, because it supports for example attachments.

The Cordova Plugin exposes some methods to check for hasClient and options to open the mail composer of a specific client.

But even with this there is still no automatic default detection possible in ios code as it seems, so users are still forced to implement their own logic like: try open in order (apple mail, outlook, ...) until it works or something like ask the user where to open it. I'm not a fan of both tbh.

So now i need a little bit of your input, how we should handle this 🤔

from capacitor-email-composer.

EinfachHans avatar EinfachHans commented on May 12, 2024

I still need feedback on this, otherwise i'm going to close this issue...

from capacitor-email-composer.

Related Issues (19)

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.