Skip to content

This project covers all the requried code to trigger UILocalNotifications. It can be helpful when you want to trigger a Push Notification when a user reaches a particular location. Does not need internet connection.

Notifications You must be signed in to change notification settings

VamshiIITBHU14/VKLocalNotifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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

About

This project covers all the requried code to trigger UILocalNotifications. It can be helpful when you want to trigger a Push Notification when a user reaches a particular location. Does not need internet connection.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages