You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{CapacitorConfig}from'@capacitor/cli'constconfig: CapacitorConfig={appId: 'com.example.example',appName: 'Example',webDir: 'public',bundledWebRuntime: false,plugins: {CapacitorCookies: {enabled: true,},PushNotifications: {presentationOptions: ['alert','badge'],// When "sound" is not set here it also disables sound on background on Android but works as expected on iOS},},}
Other Technical Details
Additional Context
The text was updated successfully, but these errors were encountered:
This issue needs more information before it can be addressed.
In particular, the reporter needs to provide a minimal sample app that demonstrates the issue.
If no sample app is provided within 15 days, the issue will be closed.
Bug Report
Plugin(s)
@capacitor/push-notifications 6.0.2
Capacitor Version
Platform(s)
Android
Current Behavior
Only on Android disabling sound on foreground (presentationOptions) also disables it in background
Expected Behavior
To work like in iOS, no sound on foreground and sound on background. As the documentation indicates here Push notifications appearance in foreground
Code Reproduction
Other Technical Details
Additional Context
The text was updated successfully, but these errors were encountered: