pushandplay / cordova-plugin-apprate

This plugin provide the "rate this app" functionality into your Cordova/Phonegap application
Apache License 2.0
300 stars 190 forks source link

NegativeFeedback iOS MailTo doesnt work #308

Open Jay031 opened 3 years ago

Jay031 commented 3 years ago

Hi all,

Regardless of plugin version (1.5.x to 1.7.x) the mailto for feedback doesnt do anything on iOS on Android my mail-apps are popping up, but on iOS nothing happens.

I'm currently using ionic 5 with plugin version 1.7.2

callbacks: {
handleNegativeFeedback: function() {
window.open('mailto:feedback@example.com', '_system');
},

I've whitelisted everything properly (as far as I know): <allow-intent href="mailto:*" />

And iOS specific: <allow-navigation href="mailto:*" launch-external="yes" />

Is there anything I'm missing?? Thanks in advance!

BradCB commented 3 years ago

I haven't found a solution to just using window.open or even just the html version (Send Email) for iOS.

However, using cordova.InAppBrowser works for me, for iOS. cordova.InAppBrowser.open('mailto:feedback@example.com', '_system');