I copied the sample PushNotification project from github and tried to build it in MyEclipse. When I installed the apk file on my phone, the event for push notification doesn’t fire. But when I tried to build it in phonegap, it worked and returned the RegistrationID.
In phonegap, whenever it builds the project, it automatically inserts the needed plugins as long as you reference it in your <script> tags and in your config.xml file. How does it work in MyEclipse? I tried to copy the 2 js files (phonegap.js, pushnotification.js) in www root folder the same way Phonegap build does, but whenever i run the app it returns Error Class not found. How do we import phonegap plugins in MyEclipse?