iOS: Local Push Notification fire ReceivedLocalNotification(UIApplication application, UILocalNotification notification) while app is backgrounded? -
is possible handle/process/execute moment local push notification received if app backgrounded?
what i've tried this: in debug mode, create local notification fires 10 secs after app starts, put breakpoint inside public override void receivedlocalnotification (uiapplication application, uilocalnotification notification), run app, push home button after start wait 10 secs, local notification message arrived in status bar breakpoint not hit, starting app via app drawer wont hit breakpoint either, tapping notification message hit breakpoint.
what want when notification arrived, regardless of app state (backgrounded or terminated), moment comes foreground task based on notification received , regardless of way how user starts app (via tapping push message or via drawer).
i used local push notification in ios alarm/timer, since ios not have alarmmanager android.
by way using xamarin.forms.
Comments
Post a Comment