-
Notifications
You must be signed in to change notification settings - Fork 963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Capacitor Register for push but use OneSignal for receiving #2441
Comments
OneSignal probably uses its own Check their docs and see if you can make it not use their delegate or report it to them, there is nothing we can do about it. |
@jcesarmobile OneSignal does also setup it's own However Capacitor won't setup it's own delegate if it detects one is already set found here. capacitor/ios/Capacitor/Capacitor/CAPUNUserNotificationCenterDelegate.swift Lines 10 to 16 in a0bcf5c
@jcesarmobile For OneSignal compatibility you could simply remove your
My top 3 recommendations are in order of what will provide the best possible compatibility and stability with other plugins. |
@jcesarmobile Id love to get One Signal integrated into my app asap, just wondering if this is something I should pursue with a private fork ? Im far from being a Swift expert so any effort will take time from me as opposed to you guys - any tips from your side most welcome |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Im trying to register for push using capacitors native functionality, I then use One Signal for generating the token using the apn token, everything works fine but when sending a notification it comes but the following code in app.component.ts never runs
This is my modified AppDelegate with logic for adding one signal as outlined here https://documentation.onesignal.com/docs/ios-sdk-setup Is there some kind of compatability issue with Capacitor Push PushNotificationActionPerformed and receiving a notification from OneSignal ? Must I use some way of receiving using OneSignals API now ?
The text was updated successfully, but these errors were encountered: