ionic-team / capacitor

Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️
https://capacitorjs.com
MIT License
11.47k stars 977 forks source link

[iOS] [OneSignal] Push notifications not shown in notification area when app is in foreground #1737

Closed ibanjo closed 4 years ago

ibanjo commented 5 years ago

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 the PushNotifications 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:

Link to sample project: [TBA]

jcesarmobile commented 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.

jcesarmobile commented 4 years ago

Closing as it's not clear what the problem is and the user didn't respond to the questions.