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


#1

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" }
    });

  }

#2

What is this and where does it come from?


#3

she come from constutor

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

#4

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 https://github.com/katzer/cordova-plugin-local-notifications#important-notice

There are several PRs fixing stuff with iOS 10.


#5

I use IOS 10.3 simulator and iphone 10.3.1


#6

There you have it, check the link.


#7

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