Sound for push notifications are not working even included “sound” : “default” over payload of push notifications
Please, which plugin are you using for Push Notifications and what is the version, is it updated?
1 Like
iam using capacitor plugin (“@capacitor/push-notifications”) with version “^6.0.0”
At the moment i write here, the last stable version of this Plugin is [6.0.2], but there are new versions coming soon. Update your plugin dependence in the package.json file and run: npm install
.
Have you checked the configurations in capacitor.config.ts
:
/// <reference types="@capacitor/push-notifications" />
import { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
plugins: {
PushNotifications: {
presentationOptions: ["badge", "sound", "alert"],
},
},
};
export default config;
Hope it helps.
Yes, already have the configurations mentioned, let me check with updating the version