Meteor-Community-Packages / raix-push

DEPRECATED: Push notifications for cordova (ios, android) browser (Chrome, Safari, Firefox)
https://atmospherejs.com/raix/push
MIT License
514 stars 197 forks source link

push is missing when updated phonegap plugin push from 1.8.2 to 2.0.0 #315

Open PinkPanda17 opened 6 years ago

PinkPanda17 commented 6 years ago

I have this code that is working properly at phonegap-plugin-push@1.8.2

                Push.push.setApplicationIconBadgeNumber(() => {
                    console.log('Push.setBadge: ', activityBadgeCount);
                }, (e) => {
                    console.log('Push.setApplicationIconBadgeNumber: Error', e.message);
                }, activityBadgeCount);

recently i updated to phonegap-plugin-push@2.0.0 and logged "Push" , it does not contain "Push.push" anymore, thus resulting to an error :

image

I have tried to check the repository the only difference I saw is that phonegap implemented 'use strict' does this affect Raix thus removing the push function?

raix commented 6 years ago

could you try the latest published version?