[IOS] Recipient's email address is not filled for YandexMail and ProtonMail for openComposer
- Open app
- Execute the next piece of code
await openComposer({
cancelLabel: 'Cancel',
message: 'What app do you want to open?',
title: "",
to: [email protected],
});
- Choose
ProtonMailorYandexMailas mail app
Current behavior:
ProtonMail and YandexMail opens without filled field for recipient mail
| ProtonMail | YandexMail |
|---|---|
![]() |
![]() |
Expected behavior:
ProtonMail and YandexMail opens with filled field for recipient mail from to param
| ProtonMail | YandexMail |
|---|---|
![]() |
![]() |
I don't have any accounts on either of these services, so won't be able to help fix this myself, but of course would happily accept a PR that changes the URL structure used here.
Maybe you know where I can find correct params for this mails?
I've tried pass similar parameters in link as for web apps (Yandex only as I remember), but it haven't worked, I provide a link: https://mail.yandex.ru/[email protected]&subject=Hello&body=Text
Also I didn't find any documentation or API for both of them,
For ProtonMail the URL is: URL="protonmail://mailto:[email protected]?subject=SubjectTitleOfEMail&body=MessageBodyFooBar" https://github.com/ProtonMail/ios-mail/issues/27
I did a quick modification test for the function openComposer() on IOS and it's working for me. It needs to be optimised. ios.js.zip
Thanks @McFly78! Any chance you would be able to open a PR to incorporate this into the repo?
@McFly78 +1 for sending a PR :) Seems like an easy fix
This issue is stale because it has been open for 60 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale. Please feel free to re-open if you feel this issue is still relevant.



