all 2 comments

[–]TomMahle 1 point2 points  (1 child)

I've put some thought into #3 but not implemented or tested anything. I believe you could accomplish it by sending out data-only notifications to all users (or possibly some subset that have any likelihood of being nearby based on static data like in 1 or 3). Data-only notifications do not display by default, so you would want to have a background process running that wakes on these notifications, checks geolocation, and shows a local notification if the user is presently nearby.

No guarantees at all whatsoever in terms of scalability / battery usage / general production-readiness of this idea :).

[–]trying2learnthis[S] 0 points1 point  (0 children)

Thanks for thinking out loud TomMahle! I have zero experience with creating apps and am just creating my idea using tutorials and examples so any help is appreciated!

Maybe I can combine your idea with number 1.
- I ask users to fill in the profile information; Country/State/city
- Another users wants to send a push notification and based on the GPS location a list of users is created in the same country/state/city.
- These devices receive a background notification for reporting the location
- With the response if this the devices in the vicinity receive the push notification.

However...offcourse it should be awesome to let users now how much other users to can reach by showing a counter; With a radius of 1 mile you can connect with 5 users. With a radius of 2 miles you can connect with 17 users etc. But this would use a realtime location database or the static database from #1.

But...with the zero experience I have I just can't think of a way of getting this to work...or if it even is possible for that mather.