Geofencing is the term to search for. Here's an example: https://fossdroid.com/a/nexttracks.html (don't know if it is any good, it was just the first I found)
FOSS for Android
About
๐ค A community for sharing and promoting free / libre and open source software on the Android platform.
โจ This means software you are free to modify and distribute, such as applications licensed under the GNU General Public License, BSD license, MIT license, Apache license, etc. and software that isn't designed to restrict you in any way.
๐ฌ๐ป Think of free software as free as in freedom of speech, not free beer.
Rules
๐ฒ Must relate to Android
Your post must be related to the Android operating system.
๐ Mention Source License
When promoting applications, please mention the source license (GPL, MIT, etc.).
โจ๏ธ Link Source Code first
This again is about promoting applications. Please include a link to the source code of the application at the top. If the application is hosted on F-Droid, a single link to the F-Droid page is OK, as it includes all relevant information.
๐คก No Memes
Please refrain from posting memes in this community.
๐ฃ Promote your own
Software Developers may promote their own apps and updates. No prior confirmation with the mods is required.
๐ Other Resources
Tasks is able to set reminders when entering or leaving a location. Just add a task with the + on the homescreen, set a location (enable permission for Tasks), click on the bell besides that and define other parameters like name etc. Tadah.
I tried that before on android 10 and it didn't work. Maybe it'll work on my android 13 rn.