【发布时间】:2018-08-29 06:38:30
【问题描述】:
我是Cordova android 开发的新手,希望创建一个非常简单的应用程序来显示最新电影并向用户显示电影的横幅我的代码如下,通知正在显示但它没有显示横幅。我的图像保存在www/img 文件夹中
cordova.plugins.notification.local.schedule({
id: 1,
title: 'My first notification',
text: 'Thats pretty easy...',
attachments: ['file://img/logo.png'],
foreground: true,
vibrate: true
});
这是我的文件路径
以下是我想要实现的示例,任何建议都会很棒。
【问题讨论】:
标签: javascript android cordova android-notifications