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/ba364ea4-af37-4a4f-bd57-0b2973e4dc48n%40googlegroups.com.

Reply via email to