Hacker News new | past | comments | ask | show | jobs | submit login

Why the shell app needs to use the location services? The App Store description indicates that “This app may use your location even when the app is not open”



It is likely the only way to stay active as much as possible in the background so the process doesn't get killed.


This is correct

https://github.com/ish-app/ish/issues/249

> You can now keep the app running in the background with the invocation cat /dev/location > /dev/null &


Apple doesn't allow the user to set an app as "don't kill even if not focused for a while" ? Android user here

On Android it's not automatic or automated and the user has to do it by hand himself (for obvious reasons); but for a few specific apps it allows them to work the way they should without needing weird permissions to emulate


On Android it varies a lot by manufacturer, you can find some comparisons, detailed information, and instructions to circumvent when possible here:

https://dontkillmyapp.com/

> UPDATE: We record significantly increased number of app killing on Samsung's Android Pie flavor. The hints show adaptive battery being much more eager than in stock Android.

> After 3 days any unused app will not be able to start from background (e.g. alarms will not work anymore). Imagine, you won't use your alarm clock for a the weekend +1 day and bang! no alarms any more and you miss work! We strongly suggest to turn off Adaptive battery and Put apps to sleep options per instructions below.


That alarm thing has happened to me several times and is why I recommend to people to not use their phone as alarm at as a dedicated device makes much more sense.


Unfortunately, there is no way to do that on ios as far as I know.


Well technically there is. It may run afoul of Apple’s guidelines. An app can play a silent sound in the background.


You can use /dev/location, which allows you to access location data from software you run within iSH.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: