phonegap / phonegap-plugin-local-notification

An implementation of the Web Notifications API for end-user notifications.
MIT License
38 stars 23 forks source link

notification.js interfering with notification.js of cordova-plugin-dialogs #21

Open jonnytest1 opened 5 years ago

jonnytest1 commented 5 years ago

Expected Behaviour

work even with other plugins

Actual Behaviour

breaks with cordova-plugins-dialogs

Reproduce Scenario (including but not limited to)

Steps to Reproduce

create new project add phonegap-plugin-local-notification add cordova-plugin-dialogs run

Platform and Version (e.g. Android 5.0 or iOS 9.2.1)

Android (imagine same problem on ios)

(Android) What device vendor (e.g. Samsung, HTC, Sony...)

Samsung

Cordova CLI version and cordova platform version

cordova --version                                         8.1.2
cordova platform version android               7.1.2

Plugin version

cordova plugin version | grep phonegap-plugin-local-notification   1.0.1

Sample Code that illustrates the problem

Logs taken while reproducing problem

Proposed fix

rename notification.js to something more specific e.g. localnotification.js in /www , plugins.xml and package.json