Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 989 Bytes

README.md

File metadata and controls

33 lines (18 loc) · 989 Bytes

VKLocalNotifications

Demo (App in background):

ezgif com-gif-maker

Demo (App in foreground):

ezgif com-crop

How to Test:

  1. Install the app on the device.

  2. Launch the app and tap on Trigger Local Notifications Button.

  3. Keep the app in foreground/ background/ kill the app.

  4. Move out of the initial location to around 300-400 metres and get back to initial location.

  5. That's it. You see the UILocalNotification pop ups as shown in the attached GIFs.

Addendums to info.plist :

Key : Privacy - Location Always and When In Use Usage Description
Value : Need your location to trigger notifications

Key : Privacy - Location When In Use Usage Description
Value : Need your location to trigger notifications