Location based notifications
See original GitHub issueIs your feature request related to a problem? Please describe. As a mobile developer I’d like to have location based notifications, for instance a reminder when I arrive at work or home.
Describe the solution you’d like
I would like to create a PR to add this. iOS supports this out of the code, and Android supports this as well with geofencing. I would create a new method WithLocation
that would take a long and lat as well as radius for the the parameter.
Describe alternatives you’ve considered N/A
Additional context Please let me know if you think this is a good fit for the library and I will start to work on it. Thanks
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:17 (13 by maintainers)
Top Results From Across the Web
3 Ways to Set Location-Based Reminders on Your Android ...
It's possible to create location-based reminders in Google Assistant, the Google app, and Google Keep on Android. Here's how.
Read more >Location-Based Marketing: How to Send Geographically ...
Location -based marketing is marketing that contains messaging specific to where a person is currently at in the world. These messages are often...
Read more >18 Inspiring Location-based Push Notifications
Location -based push notifications: These push notifications go to users that live in that location through simple targeting based on ...
Read more >Location-Based Push Notifications - The Most Creative Use ...
Most Creative Location-Based Push-Notification Campaigns · 1. Barneys, New York · 2. Burger King's #WhopperDetour Campaign · 3. Uber · 4. American Eagle...
Read more >Geo-Targeted Push Notifications: Advantages and Use ...
Pushwoosh Geozones allow delivering relevant, well-timed location-based push notifications to your audience. Set up virtual boundaries ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It’s working well, there is one issue that that will improve the feature: https://github.com/thudugala/Plugin.LocalNotification/blob/558c7e2e8b6aeaec17d6fec0411c9ea24ec242c7/Source/Plugin.LocalNotification/Platforms/iOS/NotificationServiceImpl.cs#L180
trigger = UNLocationNotificationTrigger.CreateTrigger(regin, false);
All that is needed is to add a
bool Repeats
to the request and use that for the 2nd parameter. This way the location notification isn’t removed after triggering and can be repeated.Does the android implementation remove after firing?
I have a branch out with the sample app updated. There is still more work to do to fully integrate this will the existing notification repository - the geofence notifications are working though. The geofencing will work even if the app is killed on Android. Please provide any feedback on design. I will keep working on cleaning up the code and improving integration.