Reputation: 89
In our app we are doing journey logging. The process where a user can press start, drive to their destination, press stop and their journey is recorded. With a notification reminding them that they are currently logging a journey.
I have the notifications working on android as follows: When the user taps start there is immediately a local notification icon at the top of the screen. When the phone is locked this notification also appears on the lock screen.
I have it kind of working on iOS where the notification will appear as a banner immediately after the user taps start. The notification will also appear in the notification center but not the lock screen.
Reading through the Microsoft documentation it seems that the notification is displayed depending on the state of the phone/app? Is there a way to instantly show the notification as a banner when the user taps start and also show the notification when the user locks their phone? All of this is assuming the user has the relevant settings turned on in iOS 12.
Upvotes: 1
Views: 772
Reputation: 12723
Unfortunately ,as far as I know , this can not be realized by third party Map.The notification in lock screen is a static notification display.
Alternatively, you can display alert to tell user updated info when in lock screen.
Otherwise , if using Apple's Map to navigation, when lock screen , you also can see full map view .
Here is the Apple document about UserNotifications .
Upvotes: 0