question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Location based notifications

See original GitHub issue

Is 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:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:17 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
mphillcommented, Aug 4, 2022

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?

1reaction
mphillcommented, Nov 5, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found