Skip to content

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

Open
@mbabaei0

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions