How to return to app from mailto link

This forum contains topics that were moved from Get Satisfaction
Robert Manders
Posts: 0
Joined: Thu Jul 11, 2013 9:30 pm

How to return to app from mailto link

Post 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.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

How to return to app from mailto link

Post by Illya Stepanov »

Hi Robert,

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

Bernie
Posts: 0
Joined: Fri Jul 27, 2012 2:06 pm

How to return to app from mailto link

Post 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?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

How to return to app from mailto link

Post 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.

Post Reply