Trigger.ioを使用してアプリケーションを開発しています。
file.getImage
ギャラリーまたはカメラ(Androidの場合)から画像を使用して選択すると、このエラーメッセージが表示されます(trigger.ioツールキットを使用してアプリを実行します)。
W Forge : Unhandled intent result, should have been handled by Forge.
アプリはすぐにクラッシュして再起動します。
関連するコード:
forge.file.getImage({}, function(file) {
forge.request.ajax({
type: 'POST',
url: "http://example.com/upload/photo",
files: [file],
success: function(e) {
console.log('success');
console.log(JSON.stringify(e));
},
error: function(e) {
console.log('failure');
console.log(JSON.stringify(e));
}
});
このエラーはどういう意味ですか?