I want display an icon in Notofication Firefox OS for that I use this code :
var img = './images/icon-30.png';
var notification = new Notification('Notification', { body: 'Body Notification', icon: img });
notification.addEventListener('click', function() {launchSelf();});
In the Desktop the icon display well
but the icon not display in mobile ( Firefox OS Simulator )
what is the problem ? Any idea ? Thanks.
Update
If I get the icon from the url like this : https://cdn1.iconfinder.com/data/icons/app-tab-bar-icons-for-ios/30/User_login.png the icon display well in the simulator, So I think the problem is the path :/
NB: I use Firefox OS 1.3 and the size of icon is 30 x 30