Page 1 of 1

How to return to app from mailto link

Posted: Fri Oct 24, 2014 3:58 pm
by Robert Manders

I have a mailto link on an image that runs javascript, and when I use it, I can send emails and it works perfectly. However, after the email is sent, I do not return to the app. Is there a way to do this? I've tried using childBrowser, but the link does not work. I've also tried using the Navigate to Link option with open in new browser set to true, and the link will open, but it doesn't return me to the app (and when I go back to the app, a blank childBrowser window is open). Any ideas?

Thanks.


How to return to app from mailto link

Posted: Fri Oct 24, 2014 10:34 pm
by Illya Stepanov

Hi Robert,

What is your target device platform?
I think in the latest versions of PhoneGap uses inAppBrowser (childBrowser is deprecated).


How to return to app from mailto link

Posted: Fri May 22, 2015 8:11 pm
by Bernie

I am using library v2.2 with Cordova 3.7.
My syntax is:

var ref = window.open('http://apache.org', '_blank', 'location=yes');

Still getting the same behavior like Robert described above.

Do I miss something?
Is there a workaround for this?


How to return to app from mailto link

Posted: Tue May 26, 2015 12:59 am
by Yurii Orishchuk

Hi Bernie,

Unfortunatly you can not control behavior after you send command to send email..
It's only OS functionality and logic.

Regards.