Closed ocean999882 closed 2 years ago
Check in the info.plist if you have added the url scheme of mailer apps under LSApplicationQueriesSchemes, for example for iMail, gmail & outlook apps:
<key>LSApplicationQueriesSchemes</key>
<array>
<string>mailto</string>
<string>googlegmail</string>
<string>ms-outlook</string>
</array>
for more info https://github.com/katzer/cordova-plugin-email-composer/issues/363#issuecomment-948338728
The Default Mail App does not open on iOS 15. Should this work in the Simulator or do i have to use a real Device?
Yes, you should try in a physical device to be sure it is not a problem with the plugin. Furthermore some simulators don't even have an email account configured and thus it might not open.
Furthermore it may help to include this in config.xml
under <platform name="ios">
<edit-config target="UIFileSharingEnabled" file="*-Info.plist" mode="merge">
<true/>
</edit-config>
<edit-config target="LSSupportsOpeningDocumentsInPlace" file="*-Info.plist" mode="merge">
<true/>
</edit-config>
<edit-config target="UISupportsDocumentBrowser" file="*-Info.plist" mode="merge">
<true/>
</edit-config>
duplicate of #363
Hello,
The add-on works perfectly with Android, but not with iOS. I've tried with two iphones, both have not installed gmail, only the pre-installed mail application. Is it mandatory to install another application? Or should the default mail application open?
Thank you.