Nuances around location-based programming
The article explores location-based programming, detailing methods for accessing user location, their challenges, and emphasizing user choice and transparency in application development for effective functionality.
Read original articleThe article discusses the complexities of location-based programming, highlighting the various methods to access user location and their associated challenges. It outlines common use cases for location data, such as setting app language or currency, offering regional discounts, and providing store locators. The author emphasizes the importance of distinguishing between user experience, application logic, and legal compliance when implementing location features. Four primary methods for obtaining user location are identified: user reporting, device heuristics, IP address tracking, and edge computing. Each method has its pros and cons, including issues of accuracy and user consent. The article warns that none of these methods can be fully trusted due to potential user dishonesty, device settings, and the use of VPNs that can obscure true location. The author suggests that while challenges exist, developers should remain informed and adaptable, allowing users to make choices regarding their location preferences, especially in multilingual contexts. Ultimately, the article serves as a guide for developers navigating the intricacies of location-based functionalities in applications.
- Location-based programming has various applications, including user experience enhancement and legal compliance.
- Four methods to access user location include user reporting, device heuristics, IP address tracking, and edge computing.
- None of the location methods are entirely reliable due to user dishonesty and technical limitations.
- Developers should prioritize user choice and transparency regarding location data usage.
- Understanding the nuances of location data is crucial for effective application development.
Related
Show HN: What's in My Location History?
The article explores Google Maps location history and Google Fit data analysis using Python scripts. It reveals discrepancies, accuracy limitations, and personal reflections on walking patterns and lifestyle changes.
Smartphone apps are a headache for travel, banking, hotels, apartments, laundry
Frustration grows over reliance on smartphone apps for services like travel and banking. Concerns include accessibility challenges, app reliability, and impact on older adults and individuals with disabilities. Maintaining a balance is crucial.
Your Driving App Is Leading You Astray
The article critiques popular driving apps for leading users astray and prioritizing speed over safety and user preferences. It suggests improvements like considering sudden lane changes and promoting OpenStreetMap for better navigation.
Bumble and Hinge allowed stalkers to pinpoint users' locations down to 2 meters
Researchers from KU Leuven found vulnerabilities in dating apps like Bumble and Hinge, allowing stalkers to pinpoint users' locations. Affected apps have since improved their distance filters to enhance user privacy.
How developers trick App Store into approving malicious apps
Developers are deceiving the App Store to approve malicious apps like "Collect Cards" by using geofencing and Microsoft's CodePush SDK, allowing post-approval changes to app functionalities. Apple has removed these apps.
> You want to set the language or currency of your app based on the region.
DO NOT DO THIS. I prefer my software and articles in English or at the very least based on the locale I set myself. However, my location would not allow for this, which is highly annoying. There is nothing more annoying than applications and websites that try to figure out the language out for themselves, ignoring my preferences. Then of all the methods using the location is the worst one to choose from. Further down, the article briefly acknowledges this, but I can't understate how much of an annoyance it is when websites try to be clever here. If you want to do anything, make it a nice little menu that pops up on the right of my screen *asking* me if I want to switch.
> You want to geofence your app for legal reasons (eg. cookie banners).
I guess it is a valid reason, but whenever I encounter websites that do this I also know to avoid them as they clearly do not respect the privacy of their visitors and do not care to hide it either.
The article also mentions that IP location might not be reliable because of VPNs, which is true. But it also isn't reliable in general, as it depends on a lot more factors. At most it gives you a rough potential location but it can easily be hundreds of kilometers off without the user using anything like a VPN.
Nepal for example uses a +545 offset, and a one in 6 chance that you’re in the Kathmandu valley (based on population stats, but you could do better with internet stats).
This works quite decently for small unique timezones, but gets fuzzier for the larger ones (China and India are just one timezone each).
I then thought of using other Signals to augment the probabilities (such as the locale which does have its own issues). At that point it felt like a fingerprinting project instead of anything novel and I lost interest.
Related
Show HN: What's in My Location History?
The article explores Google Maps location history and Google Fit data analysis using Python scripts. It reveals discrepancies, accuracy limitations, and personal reflections on walking patterns and lifestyle changes.
Smartphone apps are a headache for travel, banking, hotels, apartments, laundry
Frustration grows over reliance on smartphone apps for services like travel and banking. Concerns include accessibility challenges, app reliability, and impact on older adults and individuals with disabilities. Maintaining a balance is crucial.
Your Driving App Is Leading You Astray
The article critiques popular driving apps for leading users astray and prioritizing speed over safety and user preferences. It suggests improvements like considering sudden lane changes and promoting OpenStreetMap for better navigation.
Bumble and Hinge allowed stalkers to pinpoint users' locations down to 2 meters
Researchers from KU Leuven found vulnerabilities in dating apps like Bumble and Hinge, allowing stalkers to pinpoint users' locations. Affected apps have since improved their distance filters to enhance user privacy.
How developers trick App Store into approving malicious apps
Developers are deceiving the App Store to approve malicious apps like "Collect Cards" by using geofencing and Microsoft's CodePush SDK, allowing post-approval changes to app functionalities. Apple has removed these apps.