Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default email app on iOS #2294

Open
3 tasks
ganthern opened this issue Sep 29, 2020 · 5 comments
Open
3 tasks

Default email app on iOS #2294

ganthern opened this issue Sep 29, 2020 · 5 comments
Labels
ios issues that concern the ios client but not all clients new feature user stories in varying refinement states

Comments

@ganthern
Copy link
Contributor

ganthern commented Sep 29, 2020

As an owner of an iOS device i want to be able to configure the Tutanota app as the default email app. When clicking on a email address (e.g. from address book or a mailto link) the Tutanota application should start and open an email editor.

Acceptance critera:

  • In the Settings of the iOS device under "Settings > Mail > Default mail app" Tutanota should appear as default mail handler
  • Clicking on an email address from the native address book should start Tutanota and open an email editor with that address as recipient
  • Mailto links within a web browser should also start Tutanota and open an mail editor (including recipient, subject, body if specified)

Implementation hints:
This is supported since iOS 14 and it seems that this kind of integration is based on passing around mailto links. As the web view can already handle mailto links we just have to forward the mailto link from the native part to the web view when the application is invoked. To enable the default mailto integration just have to set a property and ask apple for permission.

Here is what we need to do to prepare:
https://developer.apple.com/documentation/xcode/preparing-your-app-to-be-the-default-browser-or-email-client

Some links how native side will receive these links
https://developer.apple.com/documentation/xcode/allowing-apps-and-websites-to-link-to-your-content
https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app

@ganthern ganthern added the ios issues that concern the ios client but not all clients label Sep 29, 2020
@bedhub bedhub added this to the Roadmap milestone Nov 24, 2020
@bedhub bedhub added the small improvement A small improvement which can hopefully be implemented within a short time frame. label Apr 16, 2021
@johnbotris johnbotris self-assigned this Nov 9, 2021
@bedhub bedhub added new feature user stories in varying refinement states and removed small improvement A small improvement which can hopefully be implemented within a short time frame. labels Jan 24, 2022
@ghost ghost changed the title check/enable ios 14 default mail app setting check/enable ios 14/15 default mail app setting Jan 28, 2022
@johnbotris
Copy link
Contributor

I contacted apple to request permission to enable tutanota as a default mail client. I finally got a response with some dot points:

The application does not take the ‘mailto:’ URL scheme. This means that it is not contained in the CFBundleURLSchemes member of the CFBundleURLTypes dictionary in the Info.plist.

This implies we should be able to get a test version of the app working and enabled for mailto, which we would then submit for review, however I spent some time looking into this and couldn't get it to build due to the missing permission (maybe i was confused about something)

The application requires an account, and no test credentials were provided.

The owner of the developer account probably needs to make the request rather than myself

@bedhub bedhub changed the title check/enable ios 14/15 default mail app setting Allow Tutanota to be the default mail app on iOS Feb 4, 2022
@bedhub bedhub added idea notes down not immediately solvable things that don't have general buy-in yet and removed idea notes down not immediately solvable things that don't have general buy-in yet labels Feb 4, 2022
@bedhub bedhub changed the title Allow Tutanota to be the default mail app on iOS Default email app on iOS Feb 4, 2022
@gaborbuzasi
Copy link

Hi,

Has there been any progress on this?
Is there any way someone outside Tutanota could help with?

@charlag
Copy link
Contributor

charlag commented Nov 28, 2022

It is scheduled and some research was made but it wasn't in development yet. We've been also offset by waiting for permission from Apple which we do have now I believe.

@trivarialthea
Copy link

So, when is it coming?

@bedhub bedhub removed this from the Roadmap milestone Jan 15, 2024
@D-nov
Copy link

D-nov commented Apr 19, 2024

4 years later and this is still an existing issue?
Other free apps have this from day 1, so why tuta still doesn't have it ?

Tuta won me with the price \ features ratio, mainly for being able to use unlimited custom domain aliases ❤️ , but not having it as default app got me off guard and searching on google to see if i did something wrong until i stumbled on this open issue. 🤯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ios issues that concern the ios client but not all clients new feature user stories in varying refinement states
Projects
None yet
Development

No branches or pull requests

7 participants