Hi, yes, in that case it is invoked properly.
Dátum: piatok 11. júna 2021, čas: 4:34:35 UTC+2, odosielateľ: Shai Almog > Hi, > if you kill the app and then click the notification will the > localNotificationReceived be invoked? > > On Friday, June 11, 2021 at 12:06:35 AM UTC+3 Ivan wrote: > >> Hi guys, >> >> I'm using local notifications in my application. On android everything >> works well. >> I have troubles with iOS. When the application is active and notification >> is scheduled and sent it's immediately received (localNotificationReceived >> is called). >> >> I tried to use LocalNotification.setForeground(true) and to trap the >> automatic call of localNotificationReceived. In this case the notification >> is displayed in notification area but clicking on it does not call >> localNotificationReceived anymore (because it was received already, >> probably) >> >> Is it possible to disable automatic call of localNotificationReceived() >> in iOS when application is active? >> >> thanks >> >> Ivan >> > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/71087bb8-5e21-43dd-9662-dd2a99a040dcn%40googlegroups.com.
