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