You are reading a single comment by @rigrigrig and its replies. Click here to read the full conversation.
    1. There is E.on('kill')
    2. No, providing an appID means "I need the GPS to stay on until I turn it off", omitting it means "Turn the GPS on now, until anything turns it off"
    3. Apart from the active app, widgets and/or boot apps could be using the GPS.
  • Thanks for the response. What situation would you want to turn on the gps and have something else turn it off? This is why I wondered if app id was legacy and was always being injected anyway. It means a widget could turn the gps off for my app without me knowing (not sure why they would...but they could).

    I also feel like widgets should be restricted to showing information and not changing any.

    If a boot app is managing power and says "no sorry you can't have gps on at moment" it can't switch it off until my app exits?

About

Avatar for rigrigrig @rigrigrig started