Closed ibanjo closed 4 years ago
Sorry, but it's not clear what the problem is, nor what settings are you using in "PushNotifications plugin section". Would be good if you could provide a sample app.
Closing as it's not clear what the problem is and the user didn't respond to the questions.
Description of the problem: OneSignal push notifications cannot be shown in notification area on iOS while app is in foreground. In-app alert work correctly, though, and settings provided in
capacitor.config.json
in thePushNotifications
plugin section are applied correctly, e.g. reproducing a sound, or vibrating when the notification is received.Affected platform
OS of the development machine
Other information: OneSignal interface is provided by OneSignal cordova plugin, which however is not listed in the incompatibility list.
Capacitor version: 1.1.0
node version: 10.15.3
npm version: 6.9.0
CocoaPods version: 1.7.1
Steps to reproduce:
oneSignal.inFocusDisplaying(oneSignal.OSInFocusDisplayOption.Notification)
Link to sample project: [TBA]