android - 离子android中的清除意图
问题描述
我正在使用 Ionic WebIntent从网站获取共享意图值,然后在应用程序上打开模式弹出窗口。
window.addEventListener('beforeunload', () => {
this.clearIntent();
console.log('APP CLOSED');
});
就在关闭应用程序之前,我想清除共享意图或可能发送一个空意图,以便以前的共享值不会出现。
解决方案
推荐阅读
- python - 在 JSON 输出中引用特定键值
- c - C - 如何将字符添加到数组
- flutter - 如何在我的 Flutter 应用中集成游戏?
- jenkins - 如何在低于特定 PHPUnit 代码覆盖率的情况下使 Jenkins 管道失败?
- qt - Qt Quick:有什么方法可以使文本可选?
- html - 降低高度,以便该部分不会占用太多屏幕
- python - 如何更改 JSON 中包含引号的文本?
- javascript - 从 API 查询到 Google 电子表格/G Apps 脚本并获得过滤结果
- android - Android:我的编程按钮与我的 XML 按钮不匹配
- html - 在文件夹中上传文件时自动触发电子邮件