I my mobile app I have a "Support" button that should open up the default email app in the phone. I feel like this was possible before with a action in the Browser plugin but can't find it now. Would this maybe be possible by executing javascript or any other way?
Develop games in your browser. Powerful, performant & highly capable.
Try Browser action Go To URL, or Open URL in New Window.
The URL needs to be in this format:
mailto:recipient@example.com
Well that was easy.. Worked like a charm.. :)
Bah.. It works in preview on mobile but not when exported to Android via Cordova.
I tried to google it and found that I can use javascript to do this aswell but the same, doesn't work when I have exported to an apk file.
This here works in mobile preview though
window.location.href = "mailto:address@dmail.com";
Does anybody know if there is a way to do this, if not what approach are you guys using letting the user contact you through the game?
It may be a bug, try logging a bug report:
github.com/Scirra/Construct-3-bugs/issues