Local notification push Does not work on ios but work well on android

local notification push Does not work on ios but work well on android
this is code

notification() {
    this.localNotifications.schedule({
      id: 1,
      text: 'Vous ete appele',
      sound: '../assets/YourTurn.wav',
      data: { secret: "nonif" }
    });

  }

What is this and where does it come from?

1 Like

she come from constutor

import { LocalNotifications } from '@ionic-native/local-notifications';
construtor(private localnotifications:Localnotification){
}

Ok, you are using https://ionicframework.com/docs/native/local-notifications/ and the plugin behind it. Did you successfully install the Cordova plugin?

What iOS version are you testing with?

Its been a while that the plugin has received major updates and bug fixes. My (free)time is limited and I have multiple projects to maintain. Once I’ve updated my background-mode plugin the local-notification plugin will get an official release supporting ios10. The ios10 branch will be merged into the master as well.

from GitHub - katzer/cordova-plugin-local-notifications: Cordova Local-Notification Plugin

There are several PRs fixing stuff with iOS 10.

I use IOS 10.3 simulator and iphone 10.3.1

There you have it, check the link.

yes, So there is no other way to get there please