intel xdk 方法无效!适用于 xdk 应用程序预览,但在我构建应用程序时不起作用

intel xdk methods not working! works on xdk app preview but not work when I build the app

我正在使用 bootstrap (html5 + cordova) 创建一个简单的按钮。它适用于英特尔的应用程序预览应用程序,但是当我将它安装在我的 Android 上时它无法运行。

app.js

function feedback() {

     var bodyText = 'write your message here';
        intel.xdk.device.sendEmail(bodyText, "amir329@icloud.com", "", true, "", "" );

}

index.html

<button onclick="feedback();">feedback</button>

查看图片

问题已解决。这个人制作了一个可以正常工作的插件。我现在正在使用它.. https://github.com/krisrak/html5-cordova-plugin-sharing