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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

mbabaei0 opened this issue · comments

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

  • I agree to follow this project's Code of Conduct

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

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

any update ?

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.