Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70642

Local notifications don't work under xCode simulation (works with android)

$
0
0

Hey Friends,

The local notifications from capacitor are working fine on Android, but don’t show up at all with the iOS simulation under xCode. There is no error message showing up in the xCode Console.

My notification entries looks like this:

notificationEntry = {
            id: dateInMS,
            title: `Leerung am ${dt.toLocaleString()}`,
            body: `${wasteTypesDisplayed}`,
            schedule: {
              at: alarmDateJS,
              allowWhileIdle: true,
            },
            foreground: true,
            smallIcon: 'ic_stat_tonne',
          }

Any help is appreciated.
Thanks a lot :slight_smile:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70642

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>