I need to deliver specific messages to the user based on its proximity to a specific location and on some other rules (like if there are any specific messages for that area). For example User gets in car and gets to work. The moment he arrives at work he then gets a message of some sort IF there's a message to be delivered. Here's what I was thinking (no code yet just trying to design the flow while I work at other parts of my app)
Listen to significant location change and each time that happens send the user's geolocation to the server to see if there's any message to be delivered near that location. No go. That would drain the battery too much due to overusing the radio.
Save the message regions daily, and at each significant location change do a test on the local stored data. If anything matches THEN contact server. Sounds better in theory.
Questions:
A million thanks to anybody who takes the time to clear some of this stuff up.
EDIT : extra question 7. Region monitoring, having a large number of regions added has any impact on the system? Say having 2 regions vs 100 regions?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With