OneSignal / OneSignal-Cordova-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Ionic, PhoneGap CLI, PhoneGap Build, Cordova, or Sencha Touch app with OneSignal. Supports Android, iOS, and Amazon's Fire OS platforms. https://onesignal.com
Other
251 stars 197 forks source link

Conflict onesignal-cordova-plugin with @capacitor/push-notifications #938

Open mbabaei0 opened 8 months ago

mbabaei0 commented 8 months ago

How can we help?

I have two push notificaiton libaray working same time in one app (I can't use only one cuz one of this providers used by third party lib ) onesignal-cordova-plugin and @capacitor/push-notifications

everthing works fine until I'm trying logout push notficaions when user is logging out and im calling this two methos : OneSignal.removeExternalUserId(); PushNotifications.unregister(); // for capacitor but after im trying to login again I'm not able to recive push from Onesignal but Capacitor fcm push works fine again

when I open my Onesignal panel my user is like this : but external image image

when I tested sceanrio without PushNotifications.unregister(); // for capacitor evereting works fine

Code of Conduct

jennantilla commented 7 months ago

@mbabaei0 thank you for your patience! We are investigating this and will get back to you as soon as possible.

mbabaei0 commented 7 months ago

@mbabaei0 thank you for your patience! We are investigating this and will get back to you as soon as possible.

any update ?

tewnut commented 6 months ago

Our issue is related: We have an app that handle both VoIP push and normal push notification. Currently the normal push is handled by this plugin, but VoIP is handled by other plugin. In the old version (3x) it works OK, but perhaps no longer working in current 5x version.