You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the Tangem app for iOS is hardcoded to exclusively use the Apple Mail app when initiating email actions, rather than respecting the user's chosen default mail app (as set in iOS 14 and later). This limits user experience and functionality, especially for users who prefer or rely on other email clients like Gmail, Outlook, or Spark.
Details:
Current Behavior: When a user attempts to send an email from within the Tangem app, it always opens the Apple Mail app, regardless of the device's default email app setting.
Expected Behavior: The app should open the user's chosen default email app when an email action is triggered, providing a seamless experience consistent with iOS settings.
Steps to Reproduce:
Set a third-party app (like Gmail) as the default mail app on an iOS device running iOS 14 or later.
Use the Tangem app to trigger an email action (e.g., sending an email from within the app's Contact Support button).
Observe that the Apple Mail app is launched instead of the default email app.
Suggested Fix:
To respect the user's default mail app selection in iOS when using Swift, you can use the UIApplication method to open URLs. Specifically, for email:
letemail="mailto:[email protected]?subject=Hello&body=Test"
if let url =URL(string: email),UIApplication.shared.canOpenURL(url){UIApplication.shared.open(url, options:[:], completionHandler:nil)}
The text was updated successfully, but these errors were encountered:
Currently, the Tangem app for iOS is hardcoded to exclusively use the Apple Mail app when initiating email actions, rather than respecting the user's chosen default mail app (as set in iOS 14 and later). This limits user experience and functionality, especially for users who prefer or rely on other email clients like Gmail, Outlook, or Spark.
Details:
Current Behavior: When a user attempts to send an email from within the Tangem app, it always opens the Apple Mail app, regardless of the device's default email app setting.
Expected Behavior: The app should open the user's chosen default email app when an email action is triggered, providing a seamless experience consistent with iOS settings.
Steps to Reproduce:
Set a third-party app (like Gmail) as the default mail app on an iOS device running iOS 14 or later.
Use the Tangem app to trigger an email action (e.g., sending an email from within the app's Contact Support button).
Observe that the Apple Mail app is launched instead of the default email app.
Suggested Fix:
To respect the user's default mail app selection in iOS when using Swift, you can use the UIApplication method to open URLs. Specifically, for email:
The text was updated successfully, but these errors were encountered: